Scrolling text w/o scroll bars in iOS
J. Landman Gay
jacque at hyperactivesw.com
Mon Mar 7 20:47:32 EST 2011
On 3/7/11 2:50 PM, Steve Jones wrote:
> This doesn't seem to work for me - either in the iPhone simulator or
> downloaded to my iPhone. It does work in the internal "test:\" mode
> to LiveCode though. So not sure what's up there.
Do you mean you don't want any kind of scroller at all, or do you want a
field with an iOS scroller but no native field scrollbars? In other
words, do you need to emulate the iOS look and feel?
For no scrollbar/scroller at all, try using Colin's script but with the
touch events instead of the mouse events. I'm not sure mouseStillDown is
the best way to scroll, but start with that. Ideally you'd use a "send"
structure.
If you want a native iOS scroller, that's different, it's overlaid on
top of the field. You catch the messages it sends and respond to them by
changing the field's vScroll property.
If you can give a little more info about what you need, we can help.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list