scroller iPhone with bounce
niggemann at uni-wh.de
Wed Dec 8 03:29:38 EST 2010
I meant to say you neither see the bounce nor the deceleration after
scrolling in the Simulator.
You can scroll in the Simulator, but you need a real device to test
scrolling related questions.
Sorry for not making the distinction.
Glad you liked the example.
Terry Judd wrote:
> Hey Bernd, thanks for this really useful example.
> Did you mean that the simulator doesn't bounce? because it scrolls just
> if you mouse down and drag.
> On 8/12/10 11:11 AM, "BNig" <niggemann at uni-wh.de> wrote:
>> You would want to look at the scroller on a real device. The simulator
>> not scroll. Forgot to mention that in the previous post.
>> BNig wrote:
>>> I figured the scroller example in Livecode mobile 4.5.2 was not really
>>> complete so I set up the new scroller in a little stack: a list field
>>> a bounce. The bounce was not obvious from the example so I hope this
>>> people to implement this. (look at the group "umscroll" with lockloc
>>> and the list field)
>>> Almost all the code is in the card script. Except for a mouseUp handler
>>> the list field to make the actual selection.
>>> The new scroller is a very nice object that really makes things a lot
>>> easier. It scrolls very smoothly even on my slow iPhone 3G. Selection is
>>> lot easier since the operating system takes a lot of guesswork out of
>>> a touch is the begin of a scroll and when a touch is a selection.
>>> There is one quirk in the current incarnation of the mobile engine:
>>> the scroll is really only starting to scroll if you slide the field up
>>> then touch the network bar or whatever you call it. The top line of the
>>> screen where the battery is shown etc. This 'defrosts' the scrolling and
>>> from then on you can scroll and bounce like you expect it. Runrev is
>>> of the problem.
>>> the zipped version of the stack:
> Dr Terry Judd | Senior Lecturer in Medical Education
> Medical Education Unit
> Melbourne Medical School
> The University of Melbourne
View this message in context: http://runtime-revolution.278305.n4.nabble.com/scroller-iPhone-with-bounce-tp3077481p3077835.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode