TopBarMenu() > Menu display and selection |
Determines if a key code identifies an accelerator key.
:getAccel( <nKey> ) --> nMenuItemPos
Method :getAccel() is used to check if a numeric inkey code is an accelerator key that should trigger a menu action. Accelerator keys are key combinations of the Alt key an a letter of a menu item caption prefixed with an ampersand (&). If the key code <nKey> is an accelerator key, the method returns the ordinal position of the corresponding menu item as a numeric value. If it is not an accelerator, the return value is zero.
http://www.xHarbour.com