Menu Item - ShortCut Property

ShortCut specifies a keyboard shortcut

Member of Menu Item (PRIM_MITM)

Data Type - Enumeration


The ShortCut property defines the key combination used to fire the click event for the menu item.
If the menu item is part of a Popup menu the short cut will not work.
Preferred short cuts are Ctrl+[A-Z] combinations or function keys. It is possible to set the shortcut key to Alt+[A-Z], but this is not recommended because as a rule Alt+[A-Z] combinations are used as the access key based on the underlined letter of the caption.
F1 will initiate the default LANSA runtime help interface. Use the PRIM_APP.iHelpHandler interface to implement a different help mechanism.

Allowed Shortcuts

ShortCut has many available combinations. See the Feature Viewer (F2) or autocomplete in the IDE for additional information.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020