TW3Label

From Smart Mobile Studio
Revision as of 11:25, 17 July 2014 by Bear (Talk | contribs) (Created page with "__NOTOC__ Represents class for single-line text control. Text is specified by Caption property and can be aligned to bounds. W3Label Unit...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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

W3Label


Unit: W3Label.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';