Skip to content

Menu

Access to menu objects when a menu is open.

Forms

If no menu open, returns "No Menu Open"

Associated DataTypes

Returns information about visible menus. Inherits window when a menu is open.

Members

int NumVisibleMenus

returns number of currently visible menus. Ordinarily this is going to be 1 if a menu is showing and 0 if not.

int CurrMenu

returns the index for the currently visible menu. Ordinarily this will be 0 if a menu is open and -1 if not

string Name

returns the name of the menu or the first item's name.

int NumItems

returns number of items in the currently open menu.

string Items[#]

returns the Itemname specified by Index

string To String

If no menu open, returns "No Menu Open". It returns the first menu item's name when a menu is open