6. Working with Arrays, Table Fields, and Collections : Table Field Operations : How You Can Scroll to a Specific Row : How You Can Use the ActiveRow Attribute to Scroll
 
Share this page                  
How You Can Use the ActiveRow Attribute to Scroll
The ActiveRow attribute identifies the array row that has the current input focus. If you set this attribute directly, OpenROAD scrolls the data display to the specified row, moves the input focus to the first Landable field in that row, and sets the CurRow attribute to the same specified number.
Setting ActiveRow attribute has no immediate effect. Instead, an internal event is queued that ultimately generates any necessary SetValue and Exit events as the focus attempts to move. To prevent getting incorrect results, therefore, do not set the ActiveRow attribute in an event block and then attempt to use its value in the same event block.