Vcl.DBCGrids.TDBCtrlGrid

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDBCtrlGrid

Delphi

TDBCtrlGrid = class(TWinControl)

C++

class PASCALIMPLEMENTATION TDBCtrlGrid : public Vcl::Controls::TWinControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.DbCGrids.pas
Vcl.DBCGrids.hpp
Vcl.DBCGrids Vcl.DBCGrids

Description

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

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.

See Also