MENU DISPLAY
Displays the open menu in the current window.
Syntax
MENU DISPLAY [INPUT] [PURGE] [«object»]
Parameters
INPUT | Shifts focus to the menu, and requests input from the application user. |
PURGE | Shifts focus to the menu, and requests input from the application user. |
object | Can be menu The name of the open menu in the current window. menuitem The name of a particular menu item in the open menu. ([exp1 ],[exp2 ],[exp3 ]) Positive integers or expressions that evaluate to positive integers, that identify a particular menu or menu item. Exp1 identifies the menu number; exp2, the item number. (Exp3 is reserved for future use.) Exp1, exp2, and exp3 must be positive integers or expressions that evaluate to positive integers. At least one of exp1 or exp2 must be specified. |
Comments
For a bar menu, the INPUT parameter is optional.
For a pop-up menu, the INPUT parameter is mandatory. Focus shifts to the menu and input is requested from the application user. The focus remains within the pop-up menu until a selection is made or the menu is cancelled.
Related Information
See Also