Found my problem. I didn't realize that if you close a second form and then open it again it remembers its variables. When I went to the second form again I had a mouse down event enabled for a drag and drop. This seemed to disable double click.
Dale
User Profile
Collapse
-
Sorry for the confusion. On more searching on the internet found another microsoft websight that says a Button does not raise a double click event. I will have to do more research on my original problem. Thanks for your help.
DaleLeave a comment:
-
I agree that you would normally not double click on a button. I was actually originally having a problem where on a secondary form I needed a double click on an item in a listbox and it would work the first time I opened the form but if I closed the secondary form and went back to the mainforn and then opened the secondary form again double click would not work. On a microsoft website they used a button to demonstrate double click. So I tried it...Leave a comment:
-
tried this too.
Private Sub ButtonDoubleCli ck_MouseDoubleC lick(sender As Object, e As MouseEventArgs) Handles ButtonDoubleCli ck.MouseDoubleC lick
MsgBox("You double clicked.")
End SubLeave a comment:
-
Double click not
I have been having problems with double click event not triggering so I Did this test. It is a single form with one button that should open a msgbox if I double click on it. I never see the msgbox.
Public Class Form1
Private Sub ButtonDoubleCli ck_DoubleClick( sender As Object, e As EventArgs) Handles ButtonDoubleCli ck.DoubleClick
MsgBox("You double clicked.")
End Sub
End... -
No activity results to display
Show More
Leave a comment: