Difference between revisions of "SET MCONFIRM"

From Recital Documentation Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET MCONFIRM=
 
 
 
==Class==
 
Screen Environment
 
 
 
 
==Purpose==
 
==Purpose==
 
Set up requirement for the [RETURN] key to be pressed following a menu selection
 
Set up requirement for the [RETURN] key to be pressed following a menu selection
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[@...MENU]], [[DO]], [[MENU]], [[SET BELL]], [[SET CONFIRM]]  
+
[[@...MENU]], [[BROWSE]], [[CREATE]], [[CREATE SCREEN]], [[DO]], [[MENU]], [[MODIFY SCREEN]], [[MODIFY STRUCTURE]], [[:Category:Screen Dialogs|Screen Dialogs]], [[SET BELL]], [[SET CONFIRM]], [[SET WRAP]]  
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set mconfirm on
 
set mconfirm on
do menu_opt</pre>
+
do menu_opt</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|MCONFIRM]]
 
[[Category:Set_Commands|MCONFIRM]]
 +
[[Category:Terminal Environment]]
 +
[[Category:Terminal Environment Set Commands]]
 +
[[Category:Menus]]
 +
[[Category:Menus Set Commands]]

Latest revision as of 16:18, 23 November 2009

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