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

TCustomGrid.DefaultColWidth

Default value for the width of newly created grid columns.

Declaration

Source position: grids.pas line 998

protected property TCustomGrid.DefaultColWidth: Integer
  read FDefColWidth
  write SetDefColWidth
  default DEFCOLWIDTH;

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.

After that the user may redefine this value. If the Options property includes the appropriate value, the column width may also be changed by the user at runtime.

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.