I've got a Checkedlistbox, which is 3 rows high, and large enough to display about 5 elements.
As long as I've got less than 15 elements, everything runs fine. However, if I add a sixteenth element, the checkedlistbox displays an horizontal scrollbar which takes 2 item rows, which means all the Items are now on only one row.
Worse, if I remove the extra item, the horizontal scrollbar stays in place.
I've tried using :
mycheckedlistbox.HorizontalScrollbar = false;
mycheckedlistbox.ScrollAlwaysVisible = false;
but this doesn't seem to have any effect.
I use the multicolumn=true mode, which seems to cause this misbehaviour
Is there a way to prevent the control from displaying an horizontal scrollbar, and use a vertical scrollbar instead?
I've found someone with a similar question on msdn forums, but it seems he didn't get an anwser.