Show: Delphi C++
Display Preferences

Data.DB.TField.DisplayName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DisplayName: string read GetDisplayName;

C++

__property System::UnicodeString DisplayName = {read=GetDisplayName};

Properties

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

Description

Represents the name of the field for display purposes.

Use DisplayName when displaying a string that represents the field to the user. For example, when raising an exception concerning the field, format an error string that includes the DisplayName to refer to the field. DisplayName is a read-only property. To change the value of DisplayName, use the DisplayLabel property.

If DisplayLabel is defined, DisplayName is the same as DisplayLabel. Otherwise, DisplayName is the same as the FieldName property.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance