[proFit-list] handy little function
dave
glasspusher at outofoptions.net
Sun Mar 17 19:39:09 CDT 2024
Hi Folks,
this is a little function I wrote to tighten up the width of all the columns of a data window, you might find it useful:
foo = pf.GetWindowObject(window = pf.FrontmostWindow(pf.dataType))
print (foo.nrCols)
pf.SetColumnProperties(firstColumn = 1, lastColumn = 1, nrDecimals = 0, format = pf.floatingFormat, width = 35, type = pf.doubleColumn, dataLoss = pf.askForStop)
pf.SetColumnProperties(firstColumn = 2, lastColumn = foo.nrCols, nrDecimals = 3, format = pf.floatingFormat, width = 35, type = pf.doubleColumn, dataLoss = pf.askForStop)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://quantum-soft.com/pipermail/profit-list_quantum-soft.com/attachments/20240317/ef73d226/attachment.html>
More information about the proFit-list
mailing list