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

TCustomGrid.ColWidths

Column widths for the grid.

Declaration

Source position: grids.pas line 997

protected property TCustomGrid.ColWidths: 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 return value of the property is the width of this column, measured in pixels.

The initial width of a newly created column is specified with 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.RowHeights

  

The row heights for the grid.

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