I have 4 items in a ListBox and each item does a specific thing when it gets clicked on.
But I also want the double click event to do the same thing as the click event.<
Try Following Code!
Private Sub ListBox1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.Click
ListBox1_DoubleClick(sender, e)
End Sub
Private Sub ListBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.DoubleClick
MsgBox(ListBox1.Items.Count)
End Sub