RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCtrlPanel Class

TDBCtrlPanel represents a panel in a TDBCtrlGrid object.

Pascal
TDBCtrlPanel = class(TWinControl);
C++
class TDBCtrlPanel : public TWinControl;

dbcgrids

Use TDBCtrlPanel to hold the fields from a single record in a dataset. TDBCtrlGrid represents the records in a dataset by arranging copies of the same TDBCtrlPanel object in rows or columns, where each panel represents a single record in the dataset.  

Lay out a single panel at design time. Add data-aware edit controls or data display objects. At runtime, TDBCtrlGrid replicates the panel for the records in the dataset. 

The appearance of the panel is determined by the properties of the TDBCtrlGrid object that contains the panel. The OnPaintPanel event of TDBCtrlGrid allows customized painting of the panels. 

 

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