scrollerDidScroll problem

Ender Nafi Elekcioglu endernafi at gmail.com
Sun Dec 1 22:18:11 EST 2013


Nicolas,

It’s not a bug.
The first two values of *contentRect* of the scroller should 0,0.

You probably created your scroller this way:

put the left of group “scrollArea” & comma & \
the top of group “scrollArea” & comma & \
the formattedWidth of group “scrollArea”  & comma & \
the formattedHeight of group “scrollArea” into tContentRect

mobileControlSet tScrollerID, “contentRect”, tContentRect


It’s wrong, use this instead:

put 0 & comma & 0 & \
the formattedWidth of group “scrollArea”  & comma & \
the formattedHeight of group “scrollArea” into tContentRect


Best,

~ Ender Nafi


More information about the use-livecode mailing list