Tabular IQ

Developer Resources

Class Index By Category

Menu

Overview

The Menu class represents a menu, which is a vertical list of menu items.

Constructor

Menu()
Menu(title : String)

Arguments

title
The title of the menu.

Methods

Menu.add
Adds a menu or a menu item to a menu.
Menu.addSeparator
Adds a separator to a menu.
Menu.findMenuItem
Finds the location of a submenu or menu item in the menu.
Menu.getLabel
Returns the text of the menu.
Menu.getMenuItem
Returns a menu or menu item that is in the menu.
Menu.getMenuItemCount
Returns the number of menu items in the menu.
Menu.insert
Inserts a menu or menu item into a menu.
Menu.insertSeparator(index : Integer)
Inserts a separator into a menu.
Menu.popup
Creates a menu at a given position on a form.
Menu.remove
Removes a Menu or MenuItem from the menu.
Menu.setEnabled
Enables or disables a menu.
Menu.setLabel
Sets the label for a menu.