mouseDoubleUp not working properly for iOS

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
25Apalachi
Posts: 2
Joined: Mon Aug 08, 2016 11:17 am

mouseDoubleUp not working properly for iOS

Post by 25Apalachi » Mon Aug 08, 2016 11:20 am

I have a scrolling field in an app and I want to allow users to select from the scrolling field by double tapping. mouseDoubleUp works perfectly for this on Windows and Mac OS apps but not on iOS. I believe this is because it's much harder to double tap the exact same spot using your finger than with a mouse. Does anyone have an effective workaround?

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: mouseDoubleUp not working properly for iOS

Post by jmburnod » Mon Aug 08, 2016 1:14 pm

Hi 25Apalachi ,
I believe this is because it's much harder to double tap the exact same spot using your finger than with a mouse.
I think mousedoubleUp doesn't need exact same spot.
I met same problem to display images, mousedoubleUp works often but not ever.
In some cases I use mousedoubledown sometimes works better than mousedoubleUp on iOS
Best regards
Jean-Marc
https://alternatic.ch

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: mouseDoubleUp not working properly for iOS

Post by joel.epsteinBUS31vi » Mon Aug 08, 2016 10:21 pm

You can get around this problem by doing this in your PreOpenStack:

Code: Select all

set the doubleClickDelta to 40
It's always worked great for me. You might want to monkey with the number of pixels

Peace.

Joel

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: mouseDoubleUp not working properly for iOS

Post by jmburnod » Tue Aug 09, 2016 9:01 am

Sorry,
I said
I think mousedoubleUp doesn't need exact same spot.
but Joel is right
Jean-Marc
https://alternatic.ch

25Apalachi
Posts: 2
Joined: Mon Aug 08, 2016 11:17 am

Re: mouseDoubleUp not working properly for iOS

Post by 25Apalachi » Wed Aug 10, 2016 8:22 am

joel.epsteinBUS31vi wrote:You can get around this problem by doing this in your PreOpenStack:

Code: Select all

set the doubleClickDelta to 40
It's always worked great for me. You might want to monkey with the number of pixels

Peace.

Joel
This is exactly what I needed. Thank you.

Post Reply