Hi -
I'm trying to create a c1List control that contains one column of text. If all of the rows have values that fit within the horizontal size of the control I do not want a horizontal scrollbar present. If any of the entries exceed the width of the control I want to see the horizontal scrollbar.
It seems as though the .hscrollbar.style = automatic setting should do this, but it doesn't.
The problem is that the single column is created to match the design time width of the c1list control. If the text does not fit in this default size the control simply truncates the text instead of increasing the column width and activating the horizontal control bar.
If I set the columns .DefColumnWidth to something that exceeds the width of the c1List I do get the horizontal scroll bar, but then it's active all the time - even if the actual entries are narrower than the width of the c1list.
Any help?
Thanks!