ComboBox.List (gb.qt4)

Property List As String[]

Returns or sets the popup list box contents from a string array.

Reading this property only returns a "copy" of the list's contents, therefore modifying the returned array won't have any effect. You can only modify the List by setting the full array.

eg.
This will not work...
ComboBox1.List[0] = "Some text"  ' DO NOT DO THIS!

Writing to the List property this way will work..
Dim aList As String[] = ComboBox1.List ' read (copy) the array
aList[0] = "Some text"   ' modify 
ComboBox1.List = aList   ' write the whole array back.

But for modifying single items it is easier to use the ComboBox call directly...
ComboBox1[0] = "Some text"