im currently working on listview and i think i need help :)
all i need to do is when i click the button it select the items and so on up to the last item
and set back to beginning
bu im my code its just up to the first entry of the list
the texbox2 and 3 is working file it gets the text of selected items in list view
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
If ListView1.Items.Count > 1 Then
ListView1.Items(0).Selected = True
ListView1.Select()
End If
TextBox2.Text = ListView1.Items.Item(ListView1.FocusedItem.Index).SubItems(0).Text
TextBox3.Text = ListView1.Items.Item(ListView1.FocusedItem.Index).SubItems(1).Text
end sub