My native scrollbar in Android works perfectly, but when I place the group lower on the stack/change its position and I scroll it does not return/scroll to the top of the text.
What am I doing wrong? Anybody in the forum that can assist?
Steve
Namibia
Native Scrollbar Issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Native Scrollbar Issue
hi Steve,
I think you have to reinit your scroll when you change its loc.
Best regards
Jean-Marc
I think you have to reinit your scroll when you change its loc.
Best regards
Jean-Marc
https://alternatic.ch
Re: Native Scrollbar Issue
Hi Jean-Marc
Can you be a bit more specific about how "to reinit your scroll when you change its loc."
I really appreciate your readiness to assist.
Thanks a million,
Steve
Can you be a bit more specific about how "to reinit your scroll when you change its loc."
I really appreciate your readiness to assist.
Thanks a million,
Steve
Re: Native Scrollbar Issue
Hi Steve,
When you create a native scrollbar you have to define rect and contentrect like this
You have to redefine them after moving the group
Is there a english livecoder to help a poor frenchy ?
When you create a native scrollbar you have to define rect and contentrect like this
Code: Select all
iphoneControlSet scrollid, "rect", fldRect
iphoneControlSet scrollid, "contentRect", (0, 0, fldWidth, fldHeight)
Is there a english livecoder to help a poor frenchy ?

https://alternatic.ch
Re: Native Scrollbar Issue
Hi Jean-Marc
Thanks a million for the assistance! I appreciated it very, very much. The scrollbar issue I had is now resolved. I feel I have moved miles in the right direction.
Regards,
Steve
Thanks a million for the assistance! I appreciated it very, very much. The scrollbar issue I had is now resolved. I feel I have moved miles in the right direction.
Regards,
Steve