Get menu item parameter
Get menu item parameter ( menu ; menuItem ) : Text
Parameter | Type | Description | |
---|---|---|---|
menu | Integer, Text | → | Menu reference or Menu number |
menuItem | Integer | → | Number of menu item or -1 for the last item added to the menu |
Function result | Text | ← | Custom parameter of the menu item |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The Get menu item parameter command returns the custom character string associated with the menu item designated by the menu and menuItem parameters. This string must have been set beforehand using the SET MENU ITEM PARAMETER command.
See also
Dynamic pop up menu
Get selected menu item parameter
SET MENU ITEM PARAMETER