[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.DefaultRowHeight

Default value for the height of newly created grid rows.

Declaration

Source position: grids.pas line 1166

protected property TCustomGrid.DefaultRowHeight : Integer
  read GetDefRowHeight
  write SetDefRowHeight
  stored DefaultRowHeightIsStored;

Description

If new rows of the grid are created by changing the RowCount property, the height of these new rows will be set to the value of the DefaultRowHeight property.

Use 0 for autosized height.

Use GetRealDefaultRowHeight for real value.

See also

TCustomGrid.DefaultColWidth

  

Default value for the width of newly created grid columns.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.