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

TCustomGrid.DefaultColWidth

Default value for the width of newly created grid columns.

Declaration

Source position: grids.pas line 1165

protected property TCustomGrid.DefaultColWidth : Integer
  read GetDefColWidth
  write SetDefColWidth
  stored DefaultColWidthIsStored;

Description

If new columns of the grid are created by changing the ColCount property, the width of these new columns will be set to the value of the DefaultColWidth property.

Use 0 for autosized width.

Use GetRealDefaultColWidth for real value.

See also

TCustomGrid.DefaultRowHeight

  

Default value for the height of newly created grid rows.

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