Thank you for the thorough explanation of what you are doing and why. I will give the method that triggers “scrollerDidScrol” a try.
-- Scott > On May 21, 2020, at 1:22 PM, J. Landman Gay via use-livecode > <use-livecode@lists.runrev.com> wrote: > > It was "delayTouches" mostly. Default is true, I had to set it to false. I > also set canCancelTouches to false but didn't test how necessary that was. > Default for that is also true. > > This allowed messages to pass through to LC, but you had to very deliberately > swipe, holding down a moment so the mouseDown would fire. Brian Milby came up > with a faster solution using something like Jim MacConnell's suggestion -- > make the contentRect wider than the group so that a horizontal swipe triggers > scrollerDidScroll. Lock direction to vertical to prevent wiggle. That proved > to be a the solution for a more natural swipe. > > You have to branch for Android because it doesn't have a lockDirection > property; for that OS keep the contentRect the same width as the group. Mouse > messages pass through to LC automatically, which is good because the above > two settings don't exist on Android. > > Swiping is such a normal behavior on mobile, I'd like to see an easier method > in LC to accomodate all this. > > > On 5/19/20 8:00 PM, scott--- via use-livecode wrote: >> You have probably already looked at these but here are (some of) the >> scroller settings I use for the below-mentioned field: >> ---------------- >> mobileControlSet sScrollerId, "pagingEnabled", "false" >> mobileControlSet sScrollerId, "decelerationRate", "normal" -- fast --iOS only >> mobileControlSet sScrollerId, "canScrollToTop", "true" >> mobileControlSet sScrollerId, "delayTouches", "false" >> mobileControlSet sScrollerId, "canCancelTouches", “true" > > > -- > 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