cowhead wrote: > > I asked this on the Rev list, but got no responses. I'm looking for the > best way to set the textSize of a field to the maximum size the field > can contain without changing the size of the field. So the field should > be able to accomodate anything from single words to multiple sentences, > all at the max textsize possible. The fields are set to auto-wrap. I > have a "repeat until.." script that sortof does the job by first setting > the textsize to a way-to-big number (200) then checks the > formattedheight and width to see if it exceeds the actual height and > width, if it does, it subtracts 5 from the textsize and repeats until it > does not. It seems cumbersome...Does anyone have a better way? Am I > missing something really simple? (probably).
There's nothing built-in that I know of. Your best bet is to figure out a formula based on text length, text height, size and formattedWidth/Height. > > thanks in advance, > mark mitchell > japan > > _______________________________________________ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard -- __________________________ Regards, Andu _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard
