RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterControlGroup.GetFieldsList Method

Fills a string list with the names of all of the associated adapter's fields.

Pascal
procedure GetFieldsList(List: TStrings);
C++
__fastcall GetFieldsList(TStrings List);

The CreateDefaultFields method calls GetFieldsList to obtain a list of adapter fields for which it needs to create default child Web items. GetFieldsList obtains a list of the names of its fields from the adapter, and adds them to the specified string list. For any field that is a "default" field (as defined by the adapter), the string in the list is associated with the class of the child Web item that generates a control to represent that field. 

List is a string list to fill with the names of (and Web item classes for) the adapter's default fields. 

 

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