FMX.StdCtrls.TLabel.Text

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Text: string read GetText write SetText stored IsTextStored default 0;

C++

__property Text = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TLabel

Description

Specifies the text that will be rendered over the surface of this TTextControl object.

FMX.StdCtrls.TLabel.Text inherits from FMX.Controls.TTextControl.Text. All content below this line refers to FMX.Controls.TTextControl.Text.

Specifies the text that will be rendered over the surface of this TTextControl object.

Set the Text property to specify the text that will be displayed by this TTextControl. Text can be any string.

If there are any effects already applied before changing the Text property, they will be preserved for the new text. Also, the surface of this TTextControl is repainted.

Tip: If you specify a new text string that is exactly the same as the one already displayed, the effects will not be re-updated and this TTextControl object will not be repainted.

See Also


Code Examples