OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Kelie on March 19, 2009, 01:44:12 AM

Title: List Box Auto Adjust Its Width?
Post by: Kelie on March 19, 2009, 01:44:12 AM
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.
Title: Re: List Box Auto Adjust Its Width?
Post by: 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.
Title: Re: List Box Auto Adjust Its Width?
Post by: velasquez on March 19, 2009, 11:11:53 AM
It is not possible to use a ToolTip to show the truncated text? 
Velasquez
Title: Re: List Box Auto Adjust Its Width?
Post by: Kelie on March 19, 2009, 11:01:07 PM
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.