Skip to main content
Version: Next

Get menu item parameter

Get menu item parameter ( menu ; menuItem ) -> Function result

ParameterTypeDescription
menuLongint, MenuRef🡒Menu reference or Menu number
menuItemLongint🡒Number of menu item or -1 for the last item added to the menu
Function resultString🡐Custom parameter of the menu item

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