Android Touchscreen Malfunction

Paul Dupuis paul at
Tue May 16 15:13:03 EDT 2017

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

More information about the Use-livecode mailing list