0

Hi all,

I have set CheckedListbox multicolumn property =true.
I wants to add two columns in checklistbox first one will contain Groupname and second column will contain descr .
How can i add items in these two columns ?

2
Contributors
3
Replies
7
Views
7 Years
Discussion Span
Last Post by Teme64
0

I answered a similar question about listbox control and I assume that checked listbox behaves in the same way.

Setting MultiColumn property doesn't actually provide you a control with desired number of columns. It still has a single list of items and while you add more items, it 'wraps' them to next column instead of showing vertical scrollbar.

If you want a two column control, use either some grid control or listview control. By setting listview control's View property to View.Details, you can use listview as a multicolumn 'grid'.

0

Thx for your reply :)

I answered a similar question about listbox control and I assume that checked listbox behaves in the same way.

Setting MultiColumn property doesn't actually provide you a control with desired number of columns. It still has a single list of items and while you add more items, it 'wraps' them to next column instead of showing vertical scrollbar.

If you want a two column control, use either some grid control or listview control. By setting listview control's View property to View.Details, you can use listview as a multicolumn 'grid'.

0

Hi! Nice to hear that you got answer to your problem, could you please mark the thread as solved. Thank you!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.