Language Reference Guide : System Classes : FrameExec Class : DefaultButton Attribute
 
Share this page          
DefaultButton Attribute
Data Type: ButtonField
4GL Access: RW
The DefaultButton attribute specifies a button field on a frame as the default button.
A frame can have only one default button. The event block for a default button is executed whenever the user presses a newline key unless the input focus is in a multiline entry field or another button. (Pressing the key defined as newline in a multiline entry field places a newline character in the field. For a button, it executes the button's event code.)
For a complete description of how default buttons are used in OpenROAD, see the Workbench User Guide.