Language Reference Guide : System Classes : FrameExec Class : CurMode Attribute
 
Share this page          
CurMode Attribute
Data Type: integer
4GL Access: RW
The CurMode attribute specifies the current mode of a frame.
Valid values are:
FM_READ
FM_UPDATE
FM_QUERY
FM_USER1
FM_USER2
FM_USER3
Descriptions of system constant values and their numeric equivalents are listed in Frame Modes.
When you set this attribute to a particular mode, OpenROAD sets the bias for each field in the form to the setting you specify for that field in that mode. (You can set the biases in Workbench or in the 4GL code by setting the mode/bias attributes, such as ReadBias.)
For more information about using the CurMode attribute, see the Programming Guide.