Difference between revisions of "SET MCONFIRM"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET MCONFIRM=
 
 
 
 
==Class==
 
==Class==
 
Screen Environment
 
Screen Environment
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set mconfirm on
 
set mconfirm on
do menu_opt</pre>
+
do menu_opt</code>
  
  

Revision as of 15:15, 16 April 2009

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