GRID.RowHeight

Previous  Next

 

state = GRID.RowHeight( BYVAL nControl AS INTEGER,

                        BYVAL row      AS INTEGER,

                        BYVAL height   AS INTEGER ) AS INTEGER

 

 

 

 

Sets or gets the height of the specified row.

 

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 )