Android native scroller

Klaus major-k klaus at major-k.de
Fri Apr 7 08:25:17 EDT 2023


Hi Brian,

> Am 07.04.2023 um 14:22 schrieb Brian Milby via use-livecode <use-livecode at lists.runrev.com>:
> 
> I can’t look at code right now but essentially you need to match the native scroller with the field scroll position as a separate step.

yep, that's it, but Panos was a tad faster! ;-)
Thank you!

> Brian Milby
> brian at milby7.com
> 
>> On Apr 7, 2023, at 8:05 AM, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hi friends,
>> 
>> I have a working scroller for a long field on Android.
>> The user can "jump" to a certain position in the text with:
>> ----------------------------
>> on mouseup
>> set the vScroll of group "scrollgroup" to 1670
>> end mouseup
>> ----------------------------
>> So far, so good.
>> 
>> But when the user starts scrolling from there, the scoller (vScroll)
>> jumps back to 0 and the scrolling start from there again.
>> 
>> What do I need to add to prevent this?
>> Know what I mean?

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list