On 2/18/2015 6:50 PM, Dan Friedman wrote: > Greetings! I am trying to set the tabStops to fit the data a field. The > script below works great! However, ask it to process a few thousand lines > with 10 or so columns, and you'll have time to get a cup of coffee! Any > ideas on how to speed this up? Maybe there is some magical property I don't > about? > >
If you are using LC 6.5 or above, look at the measureText(text,object reference,[mode]) function in the dictionary. It may (or may not) be faster than the formattedWidth of a chunk of the field. _______________________________________________ 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