Listview Items

  • Thread starter Thread starter Bill English
  • Start date Start date
B

Bill English

How do I get the string of the selected item in a
listview when a user double clicks the item? Note: I
don't know the index number of the item, they are
automatically generated.
 
* "Bill English said:
How do I get the string of the selected item in a
listview when a user double clicks the item? Note: I
don't know the index number of the item, they are
automatically generated.

\\\
Private Sub ListView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.DoubleClick
MsgBox(Me.ListView1.SelectedItems(0).Text())
End Sub
///
 
Thanks!


-----Original Message-----


\\\
Private Sub ListView1_DoubleClick(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
ListView1.DoubleClick
 
Back
Top