Vcl.Grids.TCustomGrid.ColCount
Delphi
property ColCount: Longint read FColCount write SetColCount default 5;
C++
__property int ColCount = {read=FColCount, write=SetColCount, default=5};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Specifies the number of columns in the grid.
Read ColCount to determine the number entries in the ColWidths array. Set ColCount to add or delete columns at the right side of the grid. The value of ColCount includes any fixed columns at the left of the grid as well as the scrollable columns in the body of the grid.
See Also
Code Examples