GRID.FirstDataFrame |
![]() ![]() |
state = GRID.FirstDataFrame( BYVAL nControl AS INTEGER, BYVAL nFirstFrame AS INTEGER ) AS INTEGER
Set or get the first frame number of the data range. This is used when only part of a file is being loaded
Example:
' First frame number of the loaded data nFrame = 2 GRID.FirstDataFrame( nControl, nFrame )
' Get the row number for each of the frames FOR i = 1 TO GRID.GetRange( nControl, MB_RANGE_DATA, MG_GET_ROWCOUNT ) nRow = GRID.GetDataFrameRow( nControl, nFrame ) nFrame = nFrame + 1 ENDFOR
|