RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCtrlGrid Class

TDBCtrlGrid displays records from a data source in a free-form layout.

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

dbcgrids

Put a TDBCtrlGrid object on a form to display and edit the records from a database table or query. Unlike the TDBGrid object, which displays each record in a single row, TDBCtrlGrid allows a free-form layout for each record in the dataset. Each record is displayed in its own panel; Design one panel at design time and TDBCtrlGrid replicates that panel for each record displayed. 

At runtime, users can use the database navigator (TDBNavigator) to move through data in the TDBCtrlGrid object, and to insert, delete, and edit the data. Edits made using the data grid are not posted to the underlying dataset until the user moves to a different record or closes the application. 

 

TDBCtrlPanel 

TDBGrid 

TDBNavigator 

Creating a Grid That Contains Other Data-aware Controls 

Using Common Data Control Features 

Grids

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