>I have a command button on a form and my users are double clicking on it instead of the standard one click. The form executes some actions because of the second click and I want to disable this. Is there a way to throw out the second mouse click when it is pressed on a command button?
>
>thanks
>bonnie
You might disable the CommandButton, and have a Timer that re-enables the CommandButton after a certain time. This disabling / enabling may be visible (very easy, with the .Visible property), or non-visible (make the execution conditional on some property).
However, it seems much more appropiate - and simple - just to educate the users.
HTH,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)