Platoo TXReportTTXCustomLabel

Contents - Events - Properties

TTXCustomLabel is base class for all labels.


Description
Do not create instance of TTXCustomLabel.


TTXCustomLabel - Events

Contents - TTXCustomLabel - Properties

OnGetText

Delphi declaration
property OnGetText: TTXTOnGetTextEvent read FOnGetText write FOnGetText;
C++ declaration
__property TTXTOnGetTextEvent OnGetText={ read=FOnGetText, write=FOnGetText }

Description
OnGetText event is triggered when the application needs to get text for the label.

Use OnGetText to perform specific formatting.


TTXCustomLabel - Properties

Contents - TTXCustomLabel - Events

Alignment
Alignment of text.

Delphi declaration
property Alignment: TAlignment read FAlignment write SetAlignment;
C++ declaration
__property Classes::TAlignment Alignment={ read=FAlignment, write=SetAlignment, nodefault }

Description
Use Alignment to align the text in the label to be on the right, in the middle or on the left.

Hidden
Hides label.

Delphi declaration
property Hidden: Boolean read FHidden write FHidden;
C++ declaration
__property bool Hidden={ read=FHidden, write=FHidden, nodefault }

Description
Set Hidden to true to avoid printing of the label.