Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,368 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,764 people online right now. Registration is fast and FREE... Join Now!




Multi Column ComboBox

 
Reply to this topicStart new topic

Multi Column ComboBox

Damage
27 Aug, 2008 - 04:20 AM
Post #1

D.I.C Addict
Group Icon

Joined: 5 Jun, 2008
Posts: 754



Thanked: 7 times
Dream Kudos: 75
My Contributions
Is it possible to have a combobox with multiple DisplayMembers? So far everything I've found tells me I have to redraw the combo box manually

QUOTE

No, the .NET Framework does not include a multi-column combobox (alternate spelling to help Googlers find us!), but it does provide everything you need to create one. Here are a couple of shared-source implementations:

http://www.vbaccelerator.com/home/NET/Code...Box/article.asp
http://www.codeproject.com/vb/net/multicolumncombo.asp




that sucks donkey balls it really does

This post has been edited by Damage: 27 Aug, 2008 - 04:28 AM
User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Multi Column ComboBox
27 Aug, 2008 - 04:38 AM
Post #2

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 579



Thanked: 16 times
Dream Kudos: 575
My Contributions
I have been searching for that since last 6 months. I had enough google searches with no results. So I am looking forward to see whether somebody can come up with a solution.... rolleyes.gif
User is offlineProfile CardPM
+Quote Post

Damage
RE: Multi Column ComboBox
27 Aug, 2008 - 05:07 AM
Post #3

D.I.C Addict
Group Icon

Joined: 5 Jun, 2008
Posts: 754



Thanked: 7 times
Dream Kudos: 75
My Contributions
well I found this,
http://forums.microsoft.com/MSDN/ShowPost....60&SiteID=1

not exactly what I wanted but it seems to work well. Works very nicely so far in fact. hope it helps


just remember to add an Accessibility reference

i haven't checked the bound columns and stuff yet though
User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Multi Column ComboBox
27 Aug, 2008 - 05:15 AM
Post #4

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 579



Thanked: 16 times
Dream Kudos: 575
My Contributions
Good suggestion. Since creating a new user control is not allowed in my work environment, I can’t use this. Anyway congratulations. If you get a solution other than creating new user control don’t forget to post it.
User is offlineProfile CardPM
+Quote Post

Damage
RE: Multi Column ComboBox
27 Aug, 2008 - 05:17 AM
Post #5

D.I.C Addict
Group Icon

Joined: 5 Jun, 2008
Posts: 754



Thanked: 7 times
Dream Kudos: 75
My Contributions
yup i'll keep trying. I refuse to beleive there's no way around this
User is offlineProfile CardPM
+Quote Post

Damage
RE: Multi Column ComboBox
27 Aug, 2008 - 11:40 PM
Post #6

D.I.C Addict
Group Icon

Joined: 5 Jun, 2008
Posts: 754



Thanked: 7 times
Dream Kudos: 75
My Contributions
just out of curiosity how come your company doesn't allow custom controls?

User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Multi Column ComboBox
27 Aug, 2008 - 11:48 PM
Post #7

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 579



Thanked: 16 times
Dream Kudos: 575
My Contributions
The project currently I am working is already implemented and in a stable state. We need to go thru a complex implementation procedure to add a new user control. Company is not ready to take any risks of implementation since it is in stable state.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 02:08PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month