Amos Professional Manual  Contents  Index

Menus


MENU ACTIVE reverses the effect of a previous MENU INACTIVE command. An entire level or single item specified by its parameters can be re-activated and the original appearance of their title strings will be re-displayed.

Moving menu displays
As has been explained, AMOS Professional menus can be displayed anywhere on your screen. he display positions can be moved either by the user or by your program.

MENU MOVABLE
instruction: activate automatic menu movement
Menu Movable level number
Menu Movable(single item parameters)

The default condition is that the menu items at a particular level may be moved directly by the user. Any level can be repositioned by moving the mouse pointer over the first item in the menu and holding down the left mouse button. A rectangular box will appear around the selected menu item, and it can be dragged to its new screen position. When the left mouse button is released, the menu is re-drawn at this location, along with all of its associated items.

Use MENU MOVABLE to set the status of entire menu levels, or selected items in a menu hierarchy, but please note that this command does not allow you to change the status of any items below the selected level.

MENU STATIC
instruction: fix a menu in static position
Menu Static level number
Menu Static(single item parameters)

One characteristic of mobile menus is that the amount of memory they use changes during the course of the program. With large menus or programs that are on the boundary of available memory this can cause real problems. MENU STATIC can be used to avoid these difficulties by setting the level or item at which the entire menu becomes immovable by the user.

MENU ITEM STATIC
instruction: fix items in static positions
Menu Item Static level number
Menu Item Static(single item parameters)

This command locks one or more menu items into place, and is the default setting.

MENU ITEM MOVABLE
instruction: move individual menu options
Menu Item Movable level number
Menu Item Movable(single item parameters)

Back    Next
06.05.09