Setting mobile scroller hScroll fails

J. Landman Gay jacque at hyperactivesw.com
Sun May 26 18:03:04 EDT 2019


I want to verify this is a bug and not just me.

I'm creating a mobile scroller over a group. I want the group to 
initially display with its hScroll all the way to the right. I'm doing this:

zoom the group out to fill the screen
create a mobile scroller with the same rect
set the hScroll of the group to its formattedWidth
set the hScroll of the scroller to the scroll of the group

If I insert an answer command to show the scroller's hScroll it reports 
the correct number. But the scroller always acts like its scroll is 0, 
and it won't scroll to the left at all. But scrolling it to the right 
zaps both it and the group to zero and after that it scrolls normally.

I've also tried not setting the group's scroll and just setting the 
scroller alone, thinking it might trigger the scrollerDidScroll handler, 
but it doesn't.

If I don't set any hScroll at all on either the group or the scroller, 
all is well.

Has anyone else seen this?

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




More information about the Use-livecode mailing list