01-13-2020 11:56 AM
Hello all,
I've long known the double underscore place before a character in a label or a menu in order to do a Alt-key shortcut. I was convinced this worked on a menu item, for instance __File|__Quit in order to quit with Alt-Q, but unless I'm missing something this does does seem to work. Correct ?
Solved! Go to Solution.
01-14-2020 07:39 AM - edited 01-14-2020 07:45 AM
The accelerator key works for the visible level of the menu, and the ALT key is needed only for the top level. In you example, the accelerator sequence to call the Quit function should be Alt+F, then Q.
Additionally, you can install an accelerator on the menu item itself, but only with Shift, Ctrl or Shift+Ctrl.
01-14-2020 10:45 AM
Hello gdargaud,
no, Alt+underscored_letter works only for the top menu.
Menu items are selected with the simple underscored letter key. (i.e. __File | __Quit -> Alt+F then Q).
Every windows program works this way.
If you want a direct shortcut you have to define manually (usually a Ctrl+key short cut). This is from my current desktop. I opened it with Alt+F, O.
01-17-2020 05:37 AM
Okay. I've been using those shortcuts for decades so it's weird I've never noticed before.