On 5/16/2017 2:55 PM, Alejandro Tejada via use-livecode wrote: > Hi All, > > Recently, while testing a stack in an Android Phone, > I found with surprise that mouseup and mousedown > messages were triggered very fast (2 or 3 times in > succession). > > After checking the phone screen, I noticed a small > (almost unnoticeable) crack in the corner. > > How could we change our mouseup and mousedown > scripts for Android Apps to make a workaround > for these kind of malfunctions?
in your handler for mouseDown (or mouseUp) check the pendingMessages (see Dictionary if unfamiliar with pendingMessages) for any other mouseDown (or mosueUp) messages pending for the same object and the one executing. _______________________________________________ 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