Type | Description | |||
String | A String expression that specifies the key combination the user can select the item by keys. The shortcut should include modifier keys such as ALT, CTRL and Shift |
The Shortcut property can specify no modifier key, and so the item's shortcut became the parent's shortcut modifier plus the shortcut itself. For instance, if the parent item has the shortcut "CTRL + A", and the item's shortcut is "P", it indicates that the item's shortcut is actually "CTRL + A + P", which indicates that the item is selected as soon as the user presses the CTRL + A, and then P key. You can use this option to easily assign shortcut to items, by inheriting the parent's shortcut. At least one shortcut of any parent should have a modifier key, else the shortcut of the item itself can not be invoked.
For instance:
The Shortcut property supports the following modifier keys ( code ):
The Shortcut property supports the following predefined keys ( code ):
Also, any digit ( 0 - 9 ) or letter ( A - Z ) is supported.
(previously) By default, the Shortcut property is defined as first sequence found in the item's Caption between <u> and </u> HTML tags. Pressing the shortcut key is similar with selecting the item and pressing the Enter key. The shortcuts in the context menu have effect only if the PopupIncrementalSearch property is exNoIncrementalSearch.