RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.Strings Property

Provides access to the string list that is being edited.

Pascal
property Strings: TStrings;
C++
__property TStrings Strings;

Use Strings to access the string list that the value list editor displays. Strings should be a TStrings descendant that contains strings of the form Name=Value.  

At design time, add values to the Strings property using the string list editor. At runtime, you can use the methods of TStrings to add strings to the list one by one, or assign an existing TStrings descendant to the Strings property. When you set Strings at runtime, TValueListEditor copies the strings from the TStrings object you assign: it does not take ownership of the object itself. 

When Strings is assigned, the value list editor displays the name portion (TStrings . ::Names) of the strings in its key column and the value portion (TStrings . ::Values) in the value column. 

 

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