Click/Double Click Event
Posted: 10 Aug 2012, 21:45
Hi Everybody!
i can't make it to display a msgbox when clicking/double clicking on a listeview item?
My code...
And if you can show me how to show the value of the clicked item in the msgbox please.
i can't make it to display a msgbox when clicking/double clicking on a listeview item?
My code...
Code: Select all
Private Sub listview_DblClick(ByVal listItem As ExLVwLibUCtl.IListViewItem, ByVal listSubItem As ExLVwLibUCtl.IListViewSubItem, ByVal button As Integer, ByVal shift As Integer, ByVal x As Single, ByVal y As Single, ByVal hitTestDetails As ExLVwLibUCtl.HitTestConstants)
Msgbox "You Double Clicked Me"
End Sub
Code: Select all
Private Sub listview_Click(ByVal listItem As ExLVwLibUCtl.IListViewItem, ByVal listSubItem As ExLVwLibUCtl.IListViewSubItem, ByVal button As Integer, ByVal shift As Integer, ByVal x As Single, ByVal y As Single, ByVal hitTestDetails As ExLVwLibUCtl.HitTestConstants)
MsgBox "You just click me"
End Sub