SET MCONFIRM
Purpose
Set up requirement for the [RETURN] key to be pressed following a menu selection
Syntax
SET MCONFIRM ON | OFF | (<expL>)
See Also
@...MENU, BROWSE, CREATE, CREATE SCREEN, DO, MENU, MODIFY SCREEN, MODIFY STRUCTURE, Screen Dialogs, SET BELL, SET CONFIRM, SET WRAP
Description
The command SET MCONFIRM ON requires the [RETURN] key to be pressed after a selection has been made from any menu or dialog box. SET MCONFIRM works consistently throughout all menu bars, pulldown menus and dialog boxes. The menu bars of the Screen Painter, BROWSE, CREATE and MODIFY STRUCTURE work surfaces operate as pull down menus when MCONFIRM is OFF. The selected option is executed if the first key of the option is entered or if the option is highlighted. When MCONFIRM is ON, selected options do not execute until the [RETURN] key is pressed. Menus constructed with the @...MENU...PULLDOWN command are affected by the SET MCONFIRM command. By default, MCONFIRM is OFF.
Example
set mconfirm on do menu_opt
Products
Recital