I have a vertically scrolling group (weekly timetable) and I like to be able to 
navigate backwards and forwards a week by swiping left or right within it. I 
can do this with a pair of touchstart/end scripts but unless the swipe is very 
horizontal the object scrolls and no touchstart or end messages are sent.

I've tried trapping the scrollerBeginDrag and scrollerEndDrag messages but 
there doesn't seem to be a reliable way to capture the 'mouse' coordinates 
within these messages so I can determine whether to count it is a horizontal 
swipe. The mouseH sometimes gives sensible values within a scrollerBeginDrag 
message and other times not - it never seems to return a sensible value in the 
scrollerEndDrag message.

Any ideas on a better way of tackling this?

Terry...

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne



_______________________________________________
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

Reply via email to