A. Features Introduced in OpenROAD 4.1 : OpenROAD 4.1/0109 Enhancements : New Attributes : FrameExec Class NextTargetField Attribute
 
Share this page                  
FrameExec Class NextTargetField Attribute
The NextTargetField attribute is used to substitute for the TargetField attribute of FrameExec in cases when the user action is going to set the input focus to a field that is not yet present on the frame. The NextTargetField attribute is set only if the TargetField attribute is set to NULL.
The TargetField attribute can be set to NULL when:
1. The user clicks on an append row of a TableField.
2. The user action will scroll the TableField.
It is not mapped since the Exit event has not completed and the 4GL code might still do a "Resume" which would prevent it from completing. NextTargetField is set in this case. Not all of its attributes are reliable, and the 4GL code should not try to set any attributes of the field. However, attributes which never vary for the TableField column will be reliable.
The NextTargetField attribute can be used to confirm that the target is in a TableField and to determine which column of the TableField is the target.