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

version 6.0


Get menu item key (menu; menuItem{; process}) Number

ParameterTypeDescription
menuNumberMenu number
menuItemNumberMenu item number
processNumberProcess reference number
Function resultNumberASCII code of menu item key

Description

The Get menu item key command returns the ASCII code of the Ctrl (Windows) or Command (Macintosh) shortcut for the menu item whose menu and item numbers are passed in menu and menuItem.

If you omit the process parameter, Get menu item key applies to the menu bar for the current process. Otherwise, Get menu item key applies to the menu bar for the process whose reference number is passed in process.

If the menu item has no shortcut, Get menu item key returns 0 (zero).

See Also

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