Hi Dan, I have several fields on one card so I don't want the field to display on the entire card, as it ruins everything else. I understand you are trying to use that as an example, but other than the display what should I be setting the rect to if not the size of the contents for scrolling?
It is the Livecode "height" variable in pixels that has the limitation of 32,768. Perhaps if you had some example code to share things might make more sense? Your help is greatly appreciated! Rick On Aug 7, 2012, at 12:08 AM, Dan Friedman wrote: > Rick, > > Don't change the height of the field to match it's contents, set it to the > display size. For example, if your field is to *display* on the entire > screen, then do this: > > set the rect of fld "ViewingField5" to the rect of this card > > Then, fill it with the data. Next, set the iOS scroller's contentRect to > (the formattedRect of field "ViewingField5"). Finally, in your > scrollerDidScroll message, don't set the scroll of the group containing field > "ViewingField5", simply set the scroll of field "ViewingField5". Make sense? > > Works fine for me. > > -Dan > > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
