API:Vcl.DBCtrls.TDBText
Delphi
TDBText = class(TCustomLabel)
C++
class PASCALIMPLEMENTATION TDBText : public Vcl::Stdctrls::TCustomLabel
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | Vcl.DBCtrls |
Description
TCustomLabel is the base class for non-windowed controls that display text on a form.
Vcl.DBCtrls.TDBText inherits from Vcl.StdCtrls.TCustomLabel. All content below this line refers to Vcl.StdCtrls.TCustomLabel.
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.