Scrolling text w/o scroll bars in iOS
Steve Jones
stevejones at mac.com
Mon Mar 7 15:50:06 EST 2011
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.
Steve
On Mar 7, 2011, at 2:07 PM, Colin Holgate wrote:
> Try this on a field that is set to not show scrollbars, lock text, and not focusable:
>
> local startscroll,startv
>
> on mousedown
> put the scroll of me into startscroll
> put the mousev into startv
> end mousedown
>
> on mousestilldown
> set the scroll of me to startscroll - the mousev + startv
> end mousestilldown
>
>
>
> The scrolling is just to the nearest line, but it does what you asked. At least on my iPad it does!
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list