Language Reference Guide : 4. System Classes : TableField Class : ActiveRow Attribute
 
Share this page                  
ActiveRow Attribute
Data Type: integer
4GL Access: RW
The ActiveRow attribute specifies the number of the row in a data array that has the current input focus.
The ActiveRow attribute provides one way to scroll a table field. When you set this attribute to an array row number, OpenROAD moves the input focus to the first landable field in that row and also sets the CurRow attribute to that number.
For a table field with default settings for SelectionType (SEL_SINGLE) and ScrollingChangesSelection (FALSE), setting ActiveRow also changes the selected row. For nondefault settings, the selection or selections do not change.
When the input focus leaves the table field, OpenROAD sets this attribute to zero.
For alternative ways to scroll a table field, see the Programming Guide.