RAD Studio VCL Reference
|
IValuesListAdapter is the interface for supplying name/value pairs.
IValuesListAdapter = interface;
__interface IValuesListAdapter;
SiteComp
Values list adapters such as TStringsValuesList and TDataSetValuesList implement the IValuesListAdapter interface. This allows adapter fields to use the values list adapter for supplying an associated list of name/value pairs. Typically, this list is used to enumerate the possible values for the adapter field so that they can be added to a selection control such as a list box in an HTML form.
The IValuesListAdapter interface introduces methods to read the current name or value, and to look up the name (or image) associated with a specified value. If the adapter that implements IValuesListAdapter does not also support iteration, server-side script can't change the current name/value pair. However, it can still look up the name or image for a specified value.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|