Xbasic

Menu Functions and Methods

Description

Alpha Anywhere provides the following menu functions and methods.

Methods

A5.MENU_ENUM()

Returns a list of menus.

.MENUITEMCHECK()

Adds or removes a check mark from a menu item.

.MENUITEMENABLE()

Enables or disables (grays) a menu item.

.MENUITEMRESET()

Removes any checkmark and enables a menu item.

UI_EXPAND_BRANCHES()

Expands certain menu 'macros' (such as recent file list, or window list) at runtime.

UI_POPUP_MENU()

Displays a menu and returns the user's selection.

UI_POPUP_MENU_HEIGHT()

Returns the height of a menu.

UI_POPUP_MENU_WIDTH()

Returns the width of a menu.

UI_POPUP_STYLED_MENU()

Displays a menu with defined colors and fonts and returns the user's selection.

UI_SELECT_SCRIPT()

Displays the Pick the script to play dialog box.

UI_SELECT_SCRIPT_POPUP()

Displays one or more script names as menu selections.