Have a look at 'formattedHeight' and 'formattedWidth' in the dictionary... :-)
> From: richmondmathew...@gmail.com > On the 'Size & Position' Panel of the Prefs pane for a field > there are 2 "Fit content" buttons; one for width and one for > height. > > Does anybody know how to script a button to 'fit content' > of a textField ? _______________________________________________ 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