MENU INPUT

Shifts the focus to the open menu in the current window and puts the application user in control of the interface.

Syntax

MENU INPUT [PURGE]

Parameters

PURGE

Specifies that unprocessed input received before the MENU INPUT command was executed is to be ignored. Eliminates the possible effects of inadvertent keystrokes or mouse actions before the application user is actually placed in control of the interface. PURGE is often used when the application user is required to confirm some action.

Comments

If the open menu is a pop-up menu that has not yet been displayed, MENU INPUT automatically displays the menu before requesting input.

The input focus remains within the menu until a selection is made or the menu is cancelled. Accelerator keys are ignored while the menu has focus. When the input request ends, the system variable ThisMenu returns information about the selected item.

 

Related Topics