Language Reference Guide : System Classes : MenuList Class
 
Share this page          
MenuList Class
The MenuList class is a menu item that displays a list of related menu selections. The end user can select only one of the menu items in the list. By clicking on one, the user turns off all the others. MenuList functions in menus the same way that radio fields, list fields, and option fields work for fields.
The ValueList attribute contains the choices on the menu list. Each choice has a text string and an associated numeric value. The MenuList always displays the text string to the user. For more information about setting the variable associated with a MenuList, see the description of the ChoiceList Class and the ChoiceItem Class.
You can set the values of a menu list dynamically. For more information about setting the values dynamically, see the discussion of dynamic programming in the Programming Guide.
A variable of either type can be nullable. If you set the variable to null, it turns off the indicator and no choice is selected. If the variable is not nullable, then one item on the list is always selected.
All platforms have a standard look and feel defined for menu text.
Inherits From
Object Class
FieldObject Class
MenuField Class
MenuItem Class
Inherited By
None
Attributes
CurEnumDisplay
CurEnumIndex
CurEnumText
CurEnumValue
ValueList
Methods
UpdChoiceList