RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBText Class

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

Pascal
TDBText = class(TCustomLabel);
C++
class TDBText : public TCustomLabel;

DBCtrls

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. 

 

TDBEdit 

TLabel 

TDBMemo 

TStaticText 

Displaying Data as Labels 

Using Common Data Control Features

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!