Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable second mouse click
Message
From
13/08/2003 20:00:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/08/2003 19:33:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00819984
Message ID:
00819988
Views:
19
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform