Swipe groups

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Armenhui
Posts: 71
Joined: Fri Oct 16, 2015 12:44 pm

Swipe groups

Post by Armenhui » Fri Mar 11, 2016 8:34 am

Hi all.

I have 3 groups which are in one group and I want to swipe this groups left and right.
I do it with mouseup, mousedown, commend it works on desktop, but on IOS devices it works not well, and I think the mouseup commend somtimes can not recognize which group was clikced.

Any ideas ?

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Re: Swipe groups

Post by ctflatt » Fri Mar 11, 2016 5:11 pm

Have you tried touchStart, touchEnd, etc on the subgroups in question?

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Swipe groups

Post by quailcreek » Sat Mar 12, 2016 5:45 pm

I have run into this same situation with mouseUp, mouseDown and mouseMove handlers when swiping from one cd to another and also having the same handlers in the script of a datagrid. I would also suggest using touchStart, touchEnd and touchMove instead of mouseUp, mouseDown and mouseMove. Since then I only use touchStart, touchEnd and touchMove in my iOS apps. touchStart theID, touchEnd theID and touchMove theID, pX, pY
Tom
MacBook Pro OS Mojave 10.14

Post Reply