Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DblClick event for command button
Message
 
To
08/05/1999 12:15:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00216396
Message ID:
00216518
Views:
31
>>Is there a way to detect a double click on a command button?
>you could fine tune this code :
*click event
>start=seconds()
>do while seconds()-start < _dblclick
>	if mdown() and compobj(this,sys(1270))
>		* Dblclicked
>	endif	
>enddo
Cetin

This works fine! The only thing left to consider is how to get rid of the extra mouseclick that gets buffered? CLEAR TYPEAHEAD doesn't seem to work for mouseclicks. Is there another way?
Vidar Johannessen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform