Hey Bernd, thanks for this really useful example. Did you mean that the simulator doesn't bounce? because it scrolls just fine if you mouse down and drag.
Terry... On 8/12/10 11:11 AM, "BNig" <niggem...@uni-wh.de> wrote: > > You would want to look at the scroller on a real device. The simulator does > not scroll. Forgot to mention that in the previous post. > > regards > Bernd > > > > 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 with >> a bounce. The bounce was not obvious from the example so I hope this helps >> people to implement this. (look at the group "umscroll" with lockloc true >> and the list field) >> Almost all the code is in the card script. Except for a mouseUp handler in >> 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 a >> lot easier since the operating system takes a lot of guesswork out of when >> 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 and >> 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 aware >> of the problem. >> >> the zipped version of the stack: >> >> http://berndniggemann.on-rev.com/scrolliPhone/lcMobileScroll_0.0.2.livecode.z >> ip >> >> regards >> >> Bernd >> >> -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne _______________________________________________ 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