List Box Auto Adjust Its Width?

Started by Kelie · 2009-03-19 08:44 UTC · 3 replies · SMF topic #669

Is it possible to have a list box automatically adjust its width when a list of  strings are added to it so long strings will not be truncated? Thanks.
No, but you can use a list view, then resize it in code depending on the result of CalcColWidth.
It is not possible to use a ToolTip to show the truncated text? 
Velasquez
Attachments
author=owenwengerd link=topic=669.msg3258#msg3258 date=1237475927 wrote:
No, but you can use a list view, then resize it in code depending on the result of CalcColWidth.


Thanks Owen. Will try this.