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
propertyicon.png AlignText
propertyicon.png Caption

Properties

propertyicon.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;

propertyicon.png Caption

Specifies text for label.

property Caption: String read FCaption write setCaption;

Example:

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