DBAdapt.TCustomDataSetAdapterField.ValuesList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ValuesList: IValuesListAdapter read FValuesList write SetValuesList;

C++

__property Sitecomp::_di_IValuesListAdapter ValuesList = {read=FValuesList, write=SetValuesList};

Properties

Type Visibility Source Unit Parent
property public
DBAdapt.pas
DBAdapt.hpp
DBAdapt TCustomDataSetAdapterField

Description

Specifies the interface of an object that lists the possible values for this field.

ValuesList is the interface of an adapter that lists a set of values. It can be the interface of any object that supports the IValuesListAdapter interface, such as TStringsValuesList or TDataSetValuesList. Each value in the list that this adapter maintains represents a possible value for this field. This is useful when you want to restrict the possible values a user can assign to the associated database field.

When you assign a value to the ValuesList property, the default control for editing this fields value changes to a single selection list box.

See Also

Personal tools
Translations