Hi.

This goes back a long, long way. And there was a thread just a few months ago. 
I think I am rewriting from memory:




on mouseUp
   wait 20
   if the mouseClick then doDoubleStuff
   else doSingleStuff
end mouseUp


on mouseDoubleUp
end mouseDoubleUp


Seemed clever in 1987. A little long in the tooth now, but works.




Craig




-----Original Message-----
From: Björnke von Gierke <b...@mac.com>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Sent: Tue, Mar 11, 2014 11:10 am
Subject: disable mousedoubleup


Hi

I wanted to disable mousedoubleup for a short time on a specific object, but it 
seems it's not possible to do this whit the doubleclickinterval, as that is not 
available on windows.

The problem is of course that in this stack people will click very fast and the 
double events will then "swallow" some of the interactions. Is there any other 
workaround to react to the mouse events, but none of the double ones?

-- 

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to