Drath
02-28-2005, 01:22 AM
Hello I am trying to add arrays for looping while filling in a multi columned listview object, but I seem to have ran into a listview fault.
When doing something like this:
ListView1.ListItems(Item(i)).SubItems(1) = "BlaBla2"
It is saying that is an invalid key, meaning it isn't regonizing the Item(i) is an arrayed variable. This only is occuring on SubItems, my main add works fine, which is:
ListView1.ListItems.Add , Item(i), "BlaBla1"
When doing something like this:
ListView1.ListItems(Item(i)).SubItems(1) = "BlaBla2"
It is saying that is an invalid key, meaning it isn't regonizing the Item(i) is an arrayed variable. This only is occuring on SubItems, my main add works fine, which is:
ListView1.ListItems.Add , Item(i), "BlaBla1"