version 6.0
SET MENU ITEM KEY (menu; menuItem; itemKey{; process})
Parameter | Type | Description | |
menu | Number | Menu number | |
menuItem | Number | Menu item number | |
itemKey | Number | ASCII code of new menu item key | |
process | Number | Process reference number |
Description
The SET MENU ITEM KEY command changes the Ctrl (Windows) or Command (Macintosh) shortcut for the the menu item whose menu and item numbers are passed in menu and menuItem, to the character whose ASCII code is passed in itemKey.
If you omit the process parameter, SET MENU ITEM KEY applies to the menu bar for the current process. Otherwise, SET MENU ITEM KEY applies to the menu bar for the process whose reference number is passed in process.
If you pass 0 (zero) in itemKey, any shortcut is removed from the menu item.
Note: For consistency in the user interface, use uppercase characters, digits or symbols that are available on the keyboard, without using any modifier key other than the Ctrl (Windows) or Command (Macintosh) key.
See Also