OK, I think I figured out the problem. Apparently mobileControlGet(theID,"vScroll") sometimes returns a decimal value (i.e. 10.5), but LiveCode doesn't allow setting the vScroll of a field to a decimal value, so the field wouldn't scroll. Rounding mobileControlGet(theID,"vScroll") appears to have solved the problem.
Regards, Scott Rossi Creative Director Tactile Media, UX Design On 12/11/12 12:27 PM, "Scott Rossi" <sc...@tactilemedia.com> wrote: >Has anybody been able to set up a mobile scroller with scrolling that >"snaps" to a predefined distance? > >I have a set of icons in a vertical scroller which I want to snap to a >multiple of the icon height once the scroller completely decelerates/stops >dragging. Using 5.5.1, the routine I built works fine in the iOS >simulator >but intermittently fails on an iPhone 4 in that the snap doesn't always >occur. The code is apparently executing correctly, both scrollerEndDrag >and >scrollerEndDecelerate messages are being received, but again apparently >intermittently. > >I'm trying to submit this week so am under the gun time-wise. Thanks for >any suggestions. > >Best Regards, > >Scott Rossi >Creative Director >Tactile Media, UX Design > > >_______________________________________________ >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 > _______________________________________________ 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