The optional child attribute <accelerator> of a menu item lets you specify a keyboard shortcut that completes a menu action. It consists of the following items:
1 = Shift
2 = Ctrl
3 = Ctrl+Shift
8 = Alt
9 = Alt+Shift
10 = Ctrl+Alt
Example: Define a Keyboard Shortcut
This example specifies that the menu action is performed by pressing Ctrl+L.
<accelerator modifiers="2">VK_L</accelerator>
|
Copyright © 2013 CA.
All rights reserved.
|
|