shmitnols
asked on
double click difficulties
I am unable to capture the double click event on a button that I am using. The buttons do not support double click events. There are two double click problems I am encountering,
1) If a user double clicks the button and the button processes the button_click code twice and
2) When the user double clicks, the first click processes the code which opens a new form, and now the second click activates an event on the second form...
To solve the first problem, you could disable the button when entering the click method, then re-enable it when it is completed, however there are many buttons and many forms, so I am looking for a less tedious solution.
For the second problem,you almost need some sort of delay before opening the next window, because the next window is opened before the user can even perform the second click.
Any suggestions or ideas would be appreciated
1) If a user double clicks the button and the button processes the button_click code twice and
2) When the user double clicks, the first click processes the code which opens a new form, and now the second click activates an event on the second form...
To solve the first problem, you could disable the button when entering the click method, then re-enable it when it is completed, however there are many buttons and many forms, so I am looking for a less tedious solution.
For the second problem,you almost need some sort of delay before opening the next window, because the next window is opened before the user can even perform the second click.
Any suggestions or ideas would be appreciated
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.