RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractFieldValuesAdapter.ImplGetFieldsList Method

Provides the underlying implementation for the GetFieldsList method.

Pascal
procedure ImplGetFieldsList(AList: TStrings); override;
C++
virtual __fastcall ImplGetFieldsList(TStrings AList);

The GetFieldsList method calls ImplGetFieldsList to fill a string list with a list of all fields that the adapter includes. Each entry in the list is the name of one of the adapter's field, and has an associated object that is the class of the object that represents that adapter field. GetFieldsList is part of the design-time support for editing adapters. 

AList is an existing string list to fill with entries for all of the fields this adapter can include. 

In TAbstractFieldValuesAdapter, ImplGetFieldsList clears AList and inserts a single entry for a field named 'ValueField'. It associates the class that the GetValueFieldClass method returns with this field name. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!