Tabular IQ

Developer Resources

Class Index By Category

MenuItem

Overview

The MenuItem class represents items on a menu.

Constructor

MenuItem()
MenuItem(label : String, help : String)

Arguments

label
The text that appears on the menu item.
help
The help string associated with the item.

Events

MenuItem.click
Fired when the menu item is clicked.

Methods

MenuItem.getHelpString
Returns the help string associated with the menu item.
MenuItem.getLabel
Returns the text of the menu item.
MenuItem.setEnabled
Enables or disables a menu item.
MenuItem.setHelpString
Sets the help string for the menu item.
MenuItem.setLabel
Sets the label for a menu item.