TW3Label



TW3Label


Represents class for single-line text control. Text is specified by Caption property and can be aligned to bounds.


W3Label

Unit: SmartCL.Controls.Label.pas

Hierarchy
TObject
TW3TagObj
TW3Component
TW3MovableControl
TW3CustomControl
TW3Label
Properties
Property-icon.png AlignText
Property-icon.png Caption

Properties

Property-icon.png AlignText

Specifies horizontal alignment of text. Text can be aligned to the left, right side or centered.

property AlignText: TTextAlign read FTextAlign write setTextAlign;

Property-icon.png Caption

Specifies text for label.

property Caption: String read FCaption write setCaption;

Example:

MyLabel.AlignText:= taRight;MyLabel.Caption:= '30 USD';