Vcl.ExtCtrls.TBoundLabel

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.StdCtrls.TCustomLabelVcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBoundLabel

Delphi

TBoundLabel = class(TCustomLabel)

C++

class PASCALIMPLEMENTATION TBoundLabel : public Vcl::Stdctrls::TCustomLabel

Properties

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

Description

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