I have a multicolumn checkedlistbox. Is there a way to limit the number of columns and force a vertical scroll?
Printable View
I have a multicolumn checkedlistbox. Is there a way to limit the number of columns and force a vertical scroll?
This is from the MSDN docuemntation for the CheckedListBox.Multicolumn property:I think that pretty much answers the question.Quote:
A multicolumn ListBox places items into as many columns as are needed to make vertical scrolling unnecessary.
Quote:
Originally Posted by jmcilhinney
That much I already knew. Just because MSDN (Microsoft) has its perspective on an issue doesnt mean it is beneficial.
When users look at a screen it is much more appealing visually to see vertical scrolling of long lists than horizontal scrolling. But with the listbox you either have to have one single super long vertical scroll column or horizontal scrolling.
It would be nice if I could specify the number of columns wide and then have it vertically scroll my longer columns.
I know you could probably implement this with a listview, with a little bit of a hassle but its a checked listbox - I dont think there is a checked listview.
This should be a common simple thing but I'm sure it will be in Visual Studio 2010 and thus another reason to upgrade.
The ListView has a CheckBoxes property to display check boxes in Details view.
Its somewhat different. I believe the checkboxes on a listview are per row where as in a listbox it is per item which is what I need.Quote:
Originally Posted by jmcilhinney
So the listview checkboxes wouldnt work.
I hate to tell my client the functionality is not there but if it is such a pain in the neck to get vertical scrolling working on a multicolumn listbox I'll try to convince him to live with horizontal.
The control is simply not designed to work that way.