Skip to main content
Version: 20 R7 BETA

Get selected menu item parameter

Get selected menu item parameter -> Function result

ParameterTypeDescription
Function resultStringCustom parameter of the menu item

This command is not thread-safe, it cannot be used in preemptive code.

Description

The Get selected menu item parameter command returns the custom character string associated with the selected menu item. This parameter must have been set beforehand using the SET MENU ITEM PARAMETER command.

If no menu item has been selected, the command returns an empty string "".

See also

Dynamic pop up menu
Get menu item parameter
SET MENU ITEM PARAMETER