Vcl.DBCtrls.TDBBoundLabel

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ExtCtrls.TBoundLabelVcl.StdCtrls.TCustomLabelVcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDBBoundLabel

Delphi

TDBBoundLabel = class(TBoundLabel)

C++

class PASCALIMPLEMENTATION TDBBoundLabel : public Vcl::Extctrls::TBoundLabel

Properties

Type Visibility Source Unit Parent
class public
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls Vcl.DBCtrls

Description

TBoundLabel is the type of a labeled edit control's label.

Vcl.DBCtrls.TDBBoundLabel inherits from Vcl.ExtCtrls.TBoundLabel. All content below this line refers to Vcl.ExtCtrls.TBoundLabel.

TBoundLabel is the type of a labeled edit control's label.

TBoundLabel implements the label of a labeled edit control. Unlike other label controls such as TLabel, TBoundLabel "belongs" to the labeled edit control (it is a subcomponent of the edit control). This means that the bound label's Owner is the edit control rather than the form, and the edit control is responsible for loading and saving the bound label.

Use the properties of TBoundLabel to specify how you want the labeled edit control's label to appear. For example, you can use the Caption property to specify the text that appears in the label. You can use the Alignment and Layout properties to specify the placement of that caption within the label.

See Also

Code Examples