Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomLabel

From XE3 API Documentation
Jump to: navigation, search

Vcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TCustomLabel

Delphi

TCustomLabel = class(TGraphicControl)

C++

class PASCALIMPLEMENTATION TCustomLabel : public Vcl::Controls::TGraphicControl

Properties

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

Description

TCustomLabel is the base class for non-windowed controls that display text on a form.

Use TCustomLabel as a base class when defining objects that display text that users can't edit. TCustomLabel introduces several new properties and methods to control the appearance of the text.

TCustomLabel is not a descendant of TWinControl, so it does not have its own window and can't receive direct input from the keyboard. To define an object that responds to direct keyboard input in addition to displaying text, use TCustomStaticText as a base class.

Do not create instances of TCustomLabel. To put a label on a form, use a TLabel object.

See Also

Personal tools
Translations