SET MENU ITEM KEY

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


SET MENU ITEM KEY (menu; menuItem; itemKey{; process})

ParameterTypeDescription
menuNumberMenu number
menuItemNumberMenu item number
itemKeyNumberASCII code of new menu item key
processNumberProcess 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

Get menu item key.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next