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;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!