Hello guys.
I would be very grateful for your assistance. I want to know whether there is any means to cycle selection of entries in a Listview,
like as its done in a listbox such as the example below.
I need a listview equivalent to the Listbox sample as shown below.
Thank you all in advance.
LISTBOX ENTRY CYCLING SAMPLES:
I would be very grateful for your assistance. I want to know whether there is any means to cycle selection of entries in a Listview,
like as its done in a listbox such as the example below.
I need a listview equivalent to the Listbox sample as shown below.
Thank you all in advance.
LISTBOX ENTRY CYCLING SAMPLES:
Code:
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
With ListBox1
.Items.Add("AAAAAAAAA")
.Items.Add("BBBBBBBBB")
.Items.Add("CCCCCCCCC")
.Items.Add("DDDDDDDDD")
End With
End Sub
Private Sub cmdUp_Click(sender As System.Object, e As System.EventArgs) Handles cmdUp.Click
Me.ListBox1.SelectedIndex = Me.ListBox1.SelectedIndex + 1
End Sub
Private Sub cmdDown_Click(sender As System.Object, e As System.EventArgs) Handles cmdDown.Click
Me.ListBox1.SelectedIndex = Me.ListBox1.SelectedIndex - 1
End Sub