List Box Auto Adjust Its Width?

Started by Kelie, March 19, 2009, 01:44:12 AM

Previous topic - Next topic

Kelie

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.

owenwengerd

No, but you can use a list view, then resize it in code depending on the result of CalcColWidth.
Owen Wengerd (Outside The Box) / ManuSoft

velasquez

It is not possible to use a ToolTip to show the truncated text? 
Velasquez

Kelie

Quote from: owenwengerd on March 19, 2009, 08:18:47 AM
No, but you can use a list view, then resize it in code depending on the result of CalcColWidth.

Thanks Owen. Will try this.