Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TLabel

From XE3 API Documentation
Jump to: navigation, search

Vcl.StdCtrls.TCustomLabelVcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TLabel

Delphi

TLabel = class(TCustomLabel)

C++

class PASCALIMPLEMENTATION TLabel : public TCustomLabel

Contents

Properties

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

Description

TLabel is a nonwindowed control that displays text on a form.

Use TLabel to add text that the user cannot edit on a form. This text can be used to label another control, and can set focus to that control when the user types an accelerator key.

Because TLabel is not a descendant of TWinControl, it does not have its own window and cannot receive direct input from the keyboard. To add an object to a form that can respond to keyboard input (other than setting focus to another object when an accelerator key is typed) in addition to displaying text, use TStaticText.

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

See Also

Code Examples

Personal tools
Translations