FMX.StdCtrls.TLabel

From RAD Studio API Documentation
Jump to: navigation, search

FMX.StdCtrls.TPresentedTextControlFMX.Controls.Presentation.TPresentedControlFMX.Controls.TStyledControlFMX.Controls.TControlFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentTLabel

Delphi

TLabel = class(TPresentedTextControl)

C++

class PASCALIMPLEMENTATION TLabel : public TPresentedTextControl

Properties

Type Visibility Source Unit Parent
class public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls FMX.StdCtrls

Description

Represents a graphical control used to display text in FireMonkey forms.

A TLabel control shows a text. The user cannot edit this text. A TLabel control can be used to label another control and can set focus to this control when the user presses an accelerator key assigned to the TLabel control.

TLabel controls cannot receive focus.

The Text property can be used to set an accelerator key to a TLabel control. The FocusControl property keeps the control that receives the focus when the accelerator key is pressed.

To add an object to a form that displays text that a user can scroll or edit, use a TEdit.

See Also

Code Examples