DBAdapt.TDataSetValuesList
From RAD Studio API Documentation
Revision as of 17:34, 16 October 2011 by TestAccount (Talk | contribs)
Delphi
TDataSetValuesList = class(TCustomDataSetValuesList)
C++
class PASCALIMPLEMENTATION TDataSetValuesList : public TCustomDataSetValuesList
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | DBAdapt.pas DBAdapt.hpp |
DBAdapt | DBAdapt |
Description
TDataSetValuesList is an adapter component that provides a list of name/value pairs by retrieving values from a TDataSet.
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.