RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.Values Property

Lists the strings for each value from the value column.

Pascal
property Values [const Key: string]: string;
C++
__property AnsiString Values[AnsiString const Key];

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.
 

 

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