Vcl.DBCGrids.TDBCtrlGrid.ColCount
Delphi
property ColCount: Integer read FColCount write SetColCount default 1;
C++
__property int ColCount = {read=FColCount, write=SetColCount, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DbCGrids.pas Vcl.DBCGrids.hpp |
Vcl.DBCGrids | TDBCtrlGrid |
Description
Specifies the number of columns of panels shown in the grid.
Set ColCount to the number of columns of panels that should appear in the TDBCtrlGrid object. Each panel represents a separate record in the dataset.
Setting ColCount causes the TDBCtrlGrid object to resize to accommodate the new number of columns. PanelWidth doesn't change.