[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ValEdit' (#lcl)

# TValueListStrings

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Stores values and item definitions used in TValueListEditor.

## Declaration

Source position: valedit.pas line 81

`type TValueListStrings = class(TStringList)`
`protected`
`procedure InsertItem();` |  | Inserts an item with the specified value at the position in Index.
`procedure Put(); override;` |  | Sets the value for the indexed Strings property.
`public`
`constructor Create();` |  | Constructor for the class instance.
`destructor Destroy; override;` |  | Destructor for the class instance.
`procedure Assign(); override;` |  | Stores properties from Source in the current class instance.
`procedure Clear; override;` |  | Removes all item values and definitions in the class instance.
`procedure CustomSort(); override;` |  | Provides access to the QuickSortStringsAndItemProps method.
`procedure Delete(); override;` |  | Deletes the item value and definition at the specified position.
`procedure Exchange(); override;` |  | Swaps the values and item definitions at the specified positions.
`end;`

## Inheritance

`TValueListStrings` |  | Stores values and item definitions used in TValueListEditor.
`TStringList`
?
`TObject`

## Description

TValueListStrings is a TStringList descendant used to store keys, values, and item definitions used in TValueListEditor. TValueListStrings provides methods needed to add, maintain, and sort the content in the class instance.

## See also

TValueListEditor.Strings |  | Stores the keys, values, and item definitions in the control.
TValueListEditor.Keys |  | Provides indexed access to Key names in the control.
TValueListEditor.Values |  | Provides indexed access to Values stored in the control.
TValueListEditor.ItemProps |  | Provides indexed access to item definitions in the control.
TStringList