RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebListInput.ValuesField Property

Indicates which field in DataSet supplies the possible values for the generated control.

Pascal
property ValuesField: string;
C++
__property AnsiString ValuesField;

Use ValuesField to specify which field in the dataset specified by the DataSet property contains values that can be assigned to the generated control. When the end-user selects the corresponding value form the ItemsField field, the control gets the value in the ValuesField field.

Note: If the list of possible values is not available in a dataset, use the Items and Values properties instead to list the selections that appear to the user and the underlying values they represent.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!