Show: Delphi
C++
Display Preferences
FMX.Menus.TMenuItem.Text
From XE2 API Documentation
Delphi
property Text;
C++
__property Text;Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TMenuItem |
Description
Specifies the text that will be rendered over the surface of this TTextControl object.
FMX.Menus.TMenuItem.Text inherits from FMX.Types.TTextControl.Text. All content below this line refers to FMX.Types.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.