RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetValuesList Class

TCustomDataSetValuesList is the base class for components that represent a set of name/value pairs taken from a dataset.

Pascal
TCustomDataSetValuesList = class(TBaseValuesListAdapter, IGetDesigntimeWarnings);
C++
class TCustomDataSetValuesList : public TBaseValuesListAdapter, public IGetDesigntimeWarnings;

DBAdapt

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. 

 

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