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

TCustomGrid.DefaultColWidth

Default width used for newly created grid columns.

Declaration

Source position: grids.pas line 1210

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 an auto-sized column width.

Use GetRealDefaultColWidth for the real value.

See also

TCustomGrid.DefaultRowHeight

  

Default row height for newly created grid rows.