Sizing Columns to Fit

Gregory Lypny gregory.lypny at videotron.ca
Tue Jun 8 17:31:10 EDT 2010


Hello everyone,

When I import tab-delimited data files, I'd like to be able to set the tab stops in a field so that each column displays its entire contents the way a spreadsheet does when you size-to-fit.  It's easy to loop through the lines of the file to find the maximum number of characters in each column, but I'm not sure how to convert that to tab stops in pixels.  Any tips?

Gregory




More information about the use-livecode mailing list