Hi there! I need help.
The main problem is that i want to use the imagelist into the listview,
but i only have 6 images.
I tried to randomize it but it didn't work.
The code I'm using:
Timer
Ps.: Use all images even if it reapet itself, with all ListBoxItems to listview.
The main problem is that i want to use the imagelist into the listview,
but i only have 6 images.
I tried to randomize it but it didn't work.
The code I'm using:
Code:
Timer1.start()
For Each l As Object In ListBox2.Items
ListView1.Items.Add(l, nIndex)
ListView1.Items(i).ImageIndex = i
nIndex += 1
NextCode:
If nIndex = Total Then
Timer1.Stop()
Else
i = rn.Next(0, ImageList1.Images.Count - 1)
End If