hi,
i would to make my button to listen to double click event with the following code, but it seems does not work...or m i using a wrong method can anyone help me
Private Sub Button1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.DoubleClick
MessageBox.show("It is a double click")
End Sub
thank you

double click for button
Deva_m
SergoT
Mark Magoo
Trevor Kelley
Now if you really want to do "DoubleCick" on buttons you can do the following:
1. Create a class that inherits from Button
2. In the New sub add the following:
SetStyle(ControlStyles.StandardClick, True)
SetStyle(ControlStyles.StandardDoubleClick, True)
Now use the new class instead of the Button class and it should work.