Mobile scroller misaligned

J. Landman Gay jacque at hyperactivesw.com
Fri Sep 27 16:04:49 EDT 2019


I must be doing something wrong, I still can't get a mobile scroller to 
align at anything other than zero. It fails on scrollers placed over 
either images or scrolling fields.

I have a list field with a lot of lines, grouped, with the group shorter 
than the field.

On mobile (Android in my case) a handler sets the hilitedLine of the 
field and scrolls the group to display it. I create a native scroller on 
the group and set the vScroll to the same scroll as the group. I can't 
get the scroller to align correctly.

The list shows on demand, so the scroller has to be created when the 
group becomes visible, and has to match the group's current scroll.

   mobileControlSet pName, "vScroll", tVScroll -- fails unless it's zero

Has anyone done this successfully? I'm pretty sure there's something 
wrong with my script.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list