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 replaces the shortcut key associated with the menu command specified by menu and menuItem, by the character whose ASCII code is passed in itemKey. This key will automatically be combined with the Ctrl (Windows) or Command (Macintosh) key in order to set the new keyboard shortcut.

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