Show: Delphi
C++
Display Preferences
FMX.Types.TTextControl
From XE2 API Documentation
Delphi
TTextControl = class(TStyledControl)
C++
class PASCALIMPLEMENTATION TTextControl : public TStyledControl
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Base class for all text controls such as TLabel.
TTextControl is the base class for all graphical controls that display text, such as TLabel, TCheckBox, TRadioButton, and so on.
TTextControl encapsulates standard functionality to manipulate the displayed text, offering the possibility of changing the font, the alignment of the text, or enabling word wrapping.
If you need to create a new control from scratch that displays text (for instance, an enhanced label graphical control or a custom redesigned check box control), then you should derive your component from TTextControl.