>   iphoneControlSet sScrollerId, "rect", the rect of group 1
>   put sum(the dgProps["column widths"] of grp 1) into tContentWidth
>   put (the dgProp["row height"] of grp 1) * (the number of elements of the 
> dgData of grp 1) into tContentHeight
>   iphoneControlSet sScrollerId, "contentRect", (0, 0, tContentWidth, 
> tContentHeight)

or better yet (thanks zyrip!):

   iphoneControlSet sScrollerId, "rect", the rect of group 1
   iphoneControlSet sScrollerId, "contentRect", (0, 0, (the dgFormattedWidth of 
grp 1),(the dgFormattedHeight of grp 1))

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

Reply via email to