Swipe gestures on a mobile scroller

Paul Hibbert paul at livecode.org
Sun Nov 20 14:32:54 EST 2016

> On Nov 20, 2016, at 11:03 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> does that mean the hscroll property of the mobile scroller must be true?

Just tried this simplified version and it works fine too:

on scrollerDidScroll hOffset, vOffset // Scroll Detect //
   if hOffset <0 then ##-->> Detects the Horiz swipe <<--##
   else if hOffset >0 then
   end if
   set the vScroll of group "scrollArea" to vOffset ##-->> Scroll the field vertically <<—##

end scrollerDidScroll

More information about the Use-livecode mailing list