GRID.GoToRow

Previous  Next

 

state = GRID.GoToRow( BYVAL nControl AS INTEGER,

                      BYVAL row      AS INTEGER ) AS INTEGER

 

 

 

 

Hilites and sets the current row/frame to the specified row or frame.  Must have turned TrackRow on before using this function.  Returns the new row.

 

Example:

 

GRID.SetDataRange( nControl ) // Use entire grid as data range

GRID.TrackRow( nControl, MG_TRACK_ROW )

 

' Go to next row

row = GRID.GoToRow( nControl, row + 1 )

PRINT "Row: ";row,