For example, the following example
![](https://img.codepudding.com/202009/107808261931551.png)
Use ValueListEditor2. ItemProps [0]. PickList. IndexOfName (' Size ') for current index, edit display the current index
But the option is modified, the index or - 1
![](https://img.codepudding.com/202009/107808261931552.png)
Don't understand what should use here get the index function,
There is a line the index Value of the Value of the current menu how to assign initial values?