[Lazarus] fpspreadsheet - automatic column width

Roberto P. padovani.r at gmail.com
Tue Mar 22 11:12:34 CET 2016

Dear List,

in (the great) fpspreadsheet library, is there a method to calculate the
minimum / optimum column width to fit its contents?
Or, can anyone suggest me how to write such method?

I have found the CalcAutoRowHeight , but that's different: it compares the
font height with the cell height. I don't know how to calculate a string
visual length from its font...

Thanks a lot,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160322/9a9613fd/attachment-0002.html>

More information about the Lazarus mailing list