Vcl.DBCGrids.TDBCtrlPanel

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TDBCtrlPanel = class(TWinControl)

C++

class PASCALIMPLEMENTATION TDBCtrlPanel : public Vcl::Controls::TWinControl

Properties

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

Description

TDBCtrlPanel represents a panel in a TDBCtrlGrid object.

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.

See Also