SET MBLOCK

From Recital Documentation Wiki
Revision as of 17:11, 11 March 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

SET MCONFIRM

Class

Screen Environment


Purpose

Set up requirement for the [RETURN] key to be pressed following a menu selection


Syntax

SET MCONFIRM ON | OFF | (<expL>)


See Also

@…MENU, DO, MENU, SET BELL, SET CONFIRM


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 Terminal Developer