Sign in Join
FPDoc Onlineexperiment

TCustomGrid.ColWidths property

Member of TCustomGridprotectedIn unit Grids

Provides indexed access to the Width for a column in the grid.

Declaration

pascal
property ColWidths[aCol: Integer]: Integer read GetColWidths write SetColWidths;

Description

The column is specified with the aCol parameter. The aCol parameter must fall within the valid index range of 0 to ColCount-1.

The property value is the width of the specified column in pixels.

The initial width for a newly created column is specified with the DefaultColWidth property.

If the Options property includes the value goColSizing, the column width may also be changed by the user at run-time.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.