i need code so if it reaches last item in listview then go to top of list again
Printable View
i need code so if it reaches last item in listview then go to top of list again
You need a code to do what exactly?
"if it reaches the last items in listview"
If what reaches the last item?
How are you selecting the items in the listview control?
What exactly do you want to acheive?
If you simply want the selected item displayed in the listview to move up to thie first one available, uppon clicking the last one aavailable then use this code
Code:Private Sub ListView1_Click()
If ListView1.ListItems.Item(ListView1.ListItems.Count).Selected = True Then ListView1.ListItems.Item(1).Selected = True
End Sub
this worked good
mark as Resolved.