On Mar 11, 2014, at 9:09 AM, Björnke von Gierke <[email protected]> wrote:
> 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?
>
Björnke,
Could flushEvents() be helpful in this situation?
Maybe something like this:
on mouseDoubleUp
send "mouseUp" to me
end mouseDoubleUp
on mouseUp
# if the handler hasn't finished, or some predetermined time period hasn't
elapsed:
flushEvents("mouseUp")
end mouseUp
Not tested, just thinking out loud.
Regards,
Devin
Devin Asay
Learn to code with LiveCode University
http://university.livecode.com
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode