TW3Label
Represents class for single-line text control. Text is specified by Caption property and can be aligned to bounds.
Unit: SmartCL.Controls.Label.pas
- Hierarchy
- TObject
Properties |
---|
AlignText |
Caption |
Properties
AlignText
Specifies horizontal alignment of text. Text can be aligned to the left, right side or centered.
property AlignText: TTextAlign read FTextAlign write setTextAlign;
Caption
Specifies text for label.
property Caption: String read FCaption write setCaption;
Example:
MyLabel.AlignText:= taRight;MyLabel.Caption:= '30 USD';