RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDef.FieldClass Property

Determines the class of the field object that corresponds to this field definition object.

Pascal
property FieldClass: TFieldClass;
C++
__property TFieldClass FieldClass;

Inspect the read-only FieldClass property to find out the class of field object to which this field definition corresponds. The FieldClass is determined by the DataType of the field. For example, if the DataType is ftString, the FieldClass is TStringField (Delphi) or __classid(TStringField) (C++). 

The field object created from a field definition by the CreateField method is an instance of the FieldClass. 

 

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