RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCtrlGrid.ColCount Property

Specifies the number of columns of panels shown in the grid.

Pascal
property ColCount: Integer;
C++
__property int ColCount;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!