GRID.EnsureVisible |
status = GRID.EnsureVisible( BYVAL nControl AS INTEGER, BYVAL nRow AS INTEGER, BYVAL nCol AS INTEGER] ) AS INTEGER
Ensures that the specified cell is visible.
Example:
' Create the Grid GRID.RowCount( nGrid, 32 ) GRID.ColumnCount( nGrid, 8 ) GRID.RowHeight( nGrid, 1, 32 ) GRID.ItemInteger( nGrid, 1, 100, 12 )
' Make sure last cell is visible GRID.EnsureVisible( nControl, GRID.RowCount( nControl ), GRID.ColumnCount( nControl ) ) |