Difference between revisions of "SET FORMSTATE"

From Recital Documentation Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET FORMSTATE=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Enable or disable Query Mode upon exiting a menu
 
Enable or disable Query Mode upon exiting a menu
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[SET QUERYMODE]], [[SET UPDATE]]
+
[[CHANGE]], [[EDIT]], [[SET QUERYMODE]], [[SET UPDATE]]
  
  
 
==Description==
 
==Description==
The SET FORMSTATE command is used to control the setting of Query | Update mode upon exit from a menu.  When a menu is accessed from a work surface such as EDIT, the form is placed into Query Mode.  If FORMSTATE is set ON, the mode of the form will be saved when the menu bar is accessed and then restored when the menu is exited.  If FORMSTATE is OFF, then the form will always be placed into Query Mode upon exit from the menu.  By default, FORMSTATE is turned ON in the main config.db file.
+
The SET FORMSTATE command is used to control the setting of Query | Update mode upon exit from a menu.  When a menu is accessed from a work surface such as EDIT, the form is placed into Query Mode.  If FORMSTATE is set ON, the mode of the form will be saved when the menu bar is accessed and then restored when the menu is exited.  If FORMSTATE is OFF, then the form will always be placed into Query Mode upon exit from the menu.  By default, FORMSTATE is turned ON in the system [[Configuration Files|configuration file]].
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
// Force Query Mode upon menu exit
 
// Force Query Mode upon menu exit
set formstate off</pre>
+
set formstate off</code>
  
  
 
==Products==
 
==Products==
  
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|FORMSTATE]]
 
[[Category:Set_Commands|FORMSTATE]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Set Commands]]
 +
[[Category:Menus]]
 +
[[Category:Menus Set Commands]]

Latest revision as of 15:49, 23 November 2009

Purpose

Enable or disable Query Mode upon exiting a menu


Syntax

SET FORMSTATE ON | OFF | (<expL>)


See Also

CHANGE, EDIT, SET QUERYMODE, SET UPDATE


Description

The SET FORMSTATE command is used to control the setting of Query | Update mode upon exit from a menu. When a menu is accessed from a work surface such as EDIT, the form is placed into Query Mode. If FORMSTATE is set ON, the mode of the form will be saved when the menu bar is accessed and then restored when the menu is exited. If FORMSTATE is OFF, then the form will always be placed into Query Mode upon exit from the menu. By default, FORMSTATE is turned ON in the system configuration file.


Example

// Force Query Mode upon menu exit
set formstate off


Products

Recital