Skip to main content
Version: 20 R7 BETA

Get menu item parameter

Get menu item parameter ( menu ; menuItem ) : Text

ParameterTypeDescription
menuInteger, TextMenu reference or Menu number
menuItemIntegerNumber of menu item or -1 for the last item added to the menu
Function resultTextCustom 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