On Apr 9, 2012, at 12:01 AM, J. Landman Gay wrote: > On 4/8/12 9:44 PM, Ken Ray wrote: > >> local sScrollerID >> on ShowScroller pViewRect,pContentHt >> -- pViewRect is the rect of the group that contains the scrolling list >> field I'm overlaying >> -- pContentHt is the total height of the content of the scrolling list >> field as if it didn't >> -- need to scroll >> if the platform is "iphone" then >> put "0,0,"& (item 3 of pViewRect)& ","& pContentHt into tContentRect > > I still haven't figured out why the rect always has to start at "0,0". You'd > think it would start at the topleft of the scrollable group but that doesn't > work.
I think it needs to be relative to the topleft of the scrollable group, just like objects on a card are relative to the topleft of the card. Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode