GRID.ColumnWidth |
![]() ![]() |
state = GRID.ColumnWidth( BYVAL nControl AS INTEGER, BYVAL column AS INTEGER, BYVAL width AS INTEGER ) AS INTEGER
Sets or gets the width of the specified columns.
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.FixedRowCount( nControl, 1 ) GRID.FixedColumnCount( nControl, 1 ) GRID.RowHeight( nControl, 1, 32 ) GRID.ItemLong( nControl, 1, 1, 12 ) GRID.Refresh( nControl )
|