Language Reference Guide : System Classes : MenuItem Class
 
Share this page          
MenuItem Class
Note:  The MenuItem class is used for classification only.
This class is a menu item that the end user can select and that terminates the menu interaction by the user. OpenROAD implements two types of functionality for MenuItems:
Menu buttons trigger a Click event when a user selects the item.
Although you generally associate the MenuButton with a variable, the value of the variable is not meaningful.
MenuToggles and MenuLists are associated with variables that contain an actual value that you can access in a program.
For example, you might provide a menu toggle that lets the user toggle between verbose and brief messages. When you print messages, you can check this variable to determine whether to print a long or short version of a message.
Variables associated with MenuButtons and MenuToggles are of type integer. Those associated with MenuList can be either integer or varchar.
Inherits From
Object Class
FieldObject Class
MenuField Class
Inherited By
MenuButton
MenuList
MenuToggle
Attributes
FocusBehavior
Methods
None