IsCurField Attribute
Data Type: smallint
4GL Access: RW
The IsCurField attribute is TRUE if a field has the current input focus for the frame.
If you set this attribute to TRUE for a field, all appropriate Entry and Exit events are triggered. If the event blocks for these events do not stop the process, for example, with a resume statement, OpenROAD moves the input focus to the specified field.
You can set this attribute for a field only if the bias for the field in the current frame mode (see the
CurBias Attribute) is set to FB_LANDABLE or FB_CHANGEABLE. Because only one field on a frame can have the input focus, this attribute can be TRUE for only one field on a form. If you set it to TRUE for multiple fields, only the last one set takes effect.
Note: You can also use the InputFocusField attribute on the FrameExec object to move the input focus.