Data.DB.TField.DisplayText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisplayText: string read GetDisplayText;

C++

__property System::UnicodeString DisplayText = {read=GetDisplayText};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Represents the field's value as it is displayed in a data-aware control.

DisplayText is a read-only string representation of a field's value for displaying in data-aware controls. It represents the field's value when it is not being edited. When the field is being edited, use the Text property.

If the field has an OnGetText event handler, DisplayText is the value returned in the Text parameter of the OnGetText event handler when its DisplayText parameter is true. Otherwise, DisplayText is the value of the AsString property.

See Also