RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldList Class

TFieldList lists the fields of a dataset, flattening out the structure of any object fields.

Pascal
TFieldList = class(TFlatList);
C++
class TFieldList : public TFlatList;

TFieldList is used by a dataset to implement its FieldList property. It lists the fields of the dataset in a flattened format. 

With object field types, such as TADTField and TArrayField, there are two ways to represent the field components: hierarchically or flattened. When represented hierarchically, object fields contain a set of child field components for the constituent subfields. When represented as a flattened set, child fields appear as siblings sequentially after the parent field. 

TFieldList is a descendant of TStringList. The strings in this string list are the names of fields. The objects that correspond to those strings are the TField objects. 

 

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