Language Reference Guide : System Classes : FrameExec Class : InputFocusField Attribute
 
Share this page          
InputFocusField Attribute
Data Type: ActiveField
4GL Access: RW
The InputFocusField attribute contains the field on the form that currently has the input focus.
In Entry events, this value is null because the new field has not yet taken the input focus. To move the input focus to another field, set the InputFocusField attribute in an Exit event for the current field. After you set this attribute, all appropriate Exit and Entry events are triggered. If the event blocks for these events do not stop the process (with a resume statement or another InputFocusField setting), OpenROAD moves the input focus to the target field.
For more information about using this attribute, see the Programming Guide.