version 11
Get menu item reference (menu; menuItem) ItemRef
Parameter | Type | Description | |
menu | MenuRef | Longint | Menu reference or Menu number | |
menuItem | Longint | Number of menu item or | |
-1 for the last item added to the menu | |||
Function result | ItemRef | Reference of the menu item |
Description
The Get menu item reference command returns the reference of the menu item designated by the menu and menuItem parameters. This reference must have been set beforehand using the SET MENU ITEM REFERENCE command.
See Also
Dynamic pop up menu, Get selected menu item reference, SET MENU ITEM REFERENCE.