DBAdapt.TCustomDataSetValuesList
Delphi
TCustomDataSetValuesList = class(TBaseValuesListAdapter, IGetDesigntimeWarnings)
C++
class PASCALIMPLEMENTATION TCustomDataSetValuesList : public Webadapt::TBaseValuesListAdapter
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | DBAdapt.pas DBAdapt.hpp |
DBAdapt | DBAdapt |
Description
TCustomDataSetValuesList is the base class for components that represent a set of name/value pairs taken from a dataset.
Use TCustomDataSetValuesList as a base class for components that implement the ValuesList property of an adapter field. This class represents a set of name/value pairs, where the names and the values are taken from two columns of a dataset. Thus, this adapter acts like a lookup dataset, although it can be used with any adapter field that has a ValuesList property (it is not limited to dataset adapter fields).
Do not use TCustomDataSetValuesList directly in a WebSnap application. Instead, assign a TCustomDataSetValuesList descendant such as TDataSetValuesList as the value of an adapter field's ValuesList property.