Sign in Join
FPDoc Onlineexperiment

TDrawGrid.ColCount property

Member of TDrawGridpublishedIn unit Grids

Number of columns in the grid.

Declaration

pascal
property ColCount:;

Description

ColCount is an Integer that represents the number of columns in the grid, including fixed and normal columns. Changing the value in ColCount after Columns have been created causes an EGridException to be raised. Use the Columns collection to add or delete columns defined in the grid.

Use FixedCols for the number of fixed columns in the grid.

Use VisibleColCount for the number of non-fixed columns in the grid.

Use RowCount, FixedRows, and VisibleRowCount to access the row-oriented equivalents.

Errors

Raises an EGridException when the value is changed and Columns already exist in the grid.

This description is the one of Grids.TCustomGrid.ColCount.

See also

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