RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBoundLabel Class

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

Pascal
TBoundLabel = class(TCustomLabel);
C++
class TBoundLabel : public TCustomLabel;

ExtCtrls

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. 

 

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