RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseValuesListAdapter Class

TBaseValuesListAdapter is a base class for adapters that provide a list of name/value pairs.

Pascal
TBaseValuesListAdapter = class(TDefaultFieldsAdapter, IValuesListAdapter);
C++
class TBaseValuesListAdapter : public TDefaultFieldsAdapter, public IValuesListAdapter;

Descendants of TBaseValuesListAdapter (such as TStringsValuesList and TDataSetValuesList) are used to provide name/value pairs for an adapter field. Adapter fields reference a values list adapter using the adapter field's ValuesList property. Typically, the list of name/value pairs is used by server-side scripts to populate <select>, <input type=checkbox>, or <input type=radio>. 

TBaseValuesListAdapter has two default fields. One field is responsible for providing a value and the other for providing a name. 

 

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