Vcl.DBCGrids.TDBCtrlGrid.ColCount

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also