Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1953 patch: Shortcut char for switches

2 posters

Go down  Message [Page 1 of 1]

1R1953 patch: Shortcut char for switches Empty R1953 patch: Shortcut char for switches Tue Oct 03, 2023 8:57 am

royqh1979



- In the properties dialog of switch, always convert the "Shortcut Char" to its uppercase.
- Ignore case when check if switch shortcut is pressed.

arcachofo

arcachofo

royqh1979




en, I've made a mistake...
Attachments
R1953 patch: Shortcut char for switches Attachmentkey.zip
You don't have permission to download attachments.
(1 Kb) Downloaded 1 times

arcachofo

arcachofo

Thanks.
Patch applied at Rev 1956.

Not 100% sure if forcing the char to be uppercase is the best solution.
It could be done only in the comparation.

royqh1979



arcachofo wrote:Thanks.
Patch applied at Rev 1956.

Not 100% sure if forcing the char to be uppercase is the best solution.
It could be done only in the comparation.

oh...I'm used to use uppercase letter in the title of shortcuts, like "Ctrl+P".

Not sure if it's the case for single letter shortcuts. Question

arcachofo

arcachofo

I mean:
If you set "p" as the key for a switch, it shows "P".

royqh1979



arcachofo wrote:I mean:
If you set "p" as the key for a switch, it shows "P".

I knew. I mean, I'm used to use uppercase letter in the title of shortcuts, like "Ctrl+P". So I made the switch's shortkey key always use uppercase.

arcachofo

arcachofo

I see... but this is not exactly a shortcut.
It is a character to show in the button, and if you press that key it will activate the button, not with Ctrl+key but just pressing the key.

royqh1979



arcachofo wrote:I see... but this is not exactly a shortcut.
It is a character to show in the button, and if you press that key it will activate the button, not with Ctrl+key but just pressing the key.

Sure. What I really mean is, it's just a personal preference of myself....

arcachofo

arcachofo

Ok, I understand.
As I said, not 100% sure, but maybe better let the user the freedom to choose.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum