On 11/20/16 12:36 PM, Paul Hibbert wrote:

On Nov 19, 2016, at 8:06 PM, J. Landman Gay
<jac...@hyperactivesw.com> wrote:

I'm not sure how it could work, since the horizontal scroll of my
field is always zero. It doesn't scroll horizontally at all.

The actual hScroll of the field isn’t set, only the vScroll is set in
this example, but it can detect that you are attempting to scroll
horizontally and so you can use that info to initiate a swipe.

It is only a workaround implemented by intercepting the
scrollerDidScroll message, you don’t need to ‘set' the scroll sent by
the message, but you can detect it and use it to swipe.

Right, but does that mean the hscroll property of the mobile scroller must be true? Right now mine's false so I assumed it wouldn't even try to detect scrolling horizontally. I can change that setting of course.

But your solution and Scott's are very similar so it must work. I'll experiment with both. Thanks for the ideas, both of you, but I sure wish we could use a simple mouseUp to detect it. It would save a lot of trouble.


--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
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