GRID.RowCount |
state = GRID.RowCount( BYVAL nControl AS INTEGER, BYVAL state AS INTEGER ) AS INTEGER
Sets or gets the number of rows in the Grid.
Example:
GRID.ColumnResize( nControl, FALSE ); GRID.RowResize( nControl, FALSE ); GRID.EnableSelection( nControl, FALSE ); GRID.Editable( nControl, FALSE ); GRID.FrameFocusCell( nControl, FALSE ); GRID.SetDefaultFormatString( nControl, MG_CELL_INTEGER, "%1.2f" ) GRID.RowCount( nControl, 10 ) GRID.ColumnCount( nControl, 2 ) GRID.RowHeight( nControl, 1, 32 ) GRID.ItemLong( nControl, 1, 1, 12 ) GRID.Refresh( nControl )
|