From RAD Studio API Documentation
Jump to: navigation, search


property Text: string read GetText write SetText stored TextStored;


__property System::UnicodeString Text = {read=GetText, write=SetText, stored=TextStored};


Type Visibility Source Unit Parent
property public
FMX.StdCtrls TPresentedTextControl


Specifies the text that will be displayed over the surface of this control.

In the Text property you can define an accelerator key. On Windows platforms, an accelerator key is shown as an underlined letter. To specify an accelerator key, precede an <accelerator_letter> with an ampersand & character. The letter after the ampersand appears underlined. For example, to set the S character as an accelerator key for a Save button, type &Save. On Windows platforms, accelerator keys enable the user to access controls pressing Alt+<accelerator_letter> key combination. When run on not Windows platforms, a single ampersand is simply stripped from the text. To show a single ampersand & character in a Text property specify doubled ampersand && characters.

See Also