Vcl.ValEdit.TValueListEditor.Values

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Values[const Key: string]: string read GetValue write SetValue;

C++

__property System::UnicodeString Values[const System::UnicodeString Key] = {read=GetValue, write=SetValue};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ValEdit.pas
Vcl.ValEdit.hpp
Vcl.ValEdit TValueListEditor

Description

Lists the strings for each value from the value column.

Use Values to access the value associated with a specified name from the first (key) column. Key specifies a string that appears in the first column of the value list editor. Values is the corresponding string from the second (value) column.

To access the strings in the key column, use the Keys property instead. To access the underlying string list, use the Strings property.

Note: Setting Values with Key set to a name that is not in the list adds a new string to Strings and a new row to the value list editor.

See Also