RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetValuesList Class

TDataSetValuesList is an adapter component that provides a list of name/value pairs by retrieving values from a TDataSet.

Pascal
TDataSetValuesList = class(TCustomDataSetValuesList);
C++
class TDataSetValuesList : public TCustomDataSetValuesList;

DBAdapt

Use TDataSetValuesList to define a list of possible values for an adapter field by assigning the TDataSetValuesList component to the ValuesList property of the adapter field. Typically, the values are used to populate HTML elements such as a select list or radio buttons when generating HTML to edit an adapter field. The TAdapterPageProducer automatically generates appropriate HTML/JavaScript for an editable field when the ValuesList is set. 

 

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