3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by codeorder
0

Hi,

You can find at the documentation what members the ListView class has. The documentation lists all the members and describes the SelectedIndices property.
So, your a couple of clicks away from the solution...

0
Private Sub ListView1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles ListView1.MouseUp
        If ListView1.SelectedItems.Count > 0 Then
            MsgBox(ListView1.SelectedItems.Item(0).Index, MsgBoxStyle.Information)
        End If
    End Sub
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.