Vcl.DBCtrls.TDBText

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.StdCtrls.TCustomLabelVcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTDBText

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

TDBText represents a data-aware control that displays the value of a field on a form.

Use TDBText to display the contents of a field in the current record of a dataset on a form. Field values displayed by database text controls cannot be modified by the user using the text control. To allow the user to edit the field value, use TDBEdit or TDBMemo instead.

If the application does not require the data-aware capabilities of TDBText, use the label component (TLabel) or the static text component (TStaticText) instead to conserve system resources.

See Also