Click here to Skip to main content
15,894,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can we replace the list in combobox with a customize list?
I mean, I want to create a combobox with multiple columns in it> I am planning to use a grid as a list and replace it in my usercontrol and add some other functionalities to it. How is it possible?
Thanx in advance.
Posted

1 solution

The ComboBox does not have built in functionality to display multiple columns in it. For this purpose a control can be created either from scratch or by deriving from ComboBox and customizing its functionality. In this regard th following Code Project article may be helpful.
MultiColumnComboBoxEx: An Extended Data-Bound Multiple Column ComboBox[^]
and two more articles were referred in this article.
These article are in C#, however they may be helpful to under stand the concept and to
 
Share this answer
 
v2
Comments
Prasad_Kulkarni 30-Apr-12 7:45am    
Nice Explanation, 5!
VJ Reddy 30-Apr-12 7:51am    
Thank you, Prasad.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900