E
Eric Schreiber
How can i get the itemdata form each item in a mulitselect list.
I made a loop but keep getting only the first value.
Dim i
Dim array1(100)
For i = 1 To aantalrecords
If ListBox1.GetSelected(i - 1).ToString = True Then
ListBox1.SelectedIndex = i - 1
mylist = ListBox1.SelectedItem
array1(i) = mylist.ItemData
End If
Next
can someone please help me out?
Eric
I made a loop but keep getting only the first value.
Dim i
Dim array1(100)
For i = 1 To aantalrecords
If ListBox1.GetSelected(i - 1).ToString = True Then
ListBox1.SelectedIndex = i - 1
mylist = ListBox1.SelectedItem
array1(i) = mylist.ItemData
End If
Next
can someone please help me out?
Eric