473,883 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

THE Multi Column ComboBox

Hi,

The Multi column comboBox is a well spoken control, that a lot of people
desire, and a lot of people buildtheir own. I tested a lot of them, but none
really was what i wanted to have.
But does anybody knows where I can find the best Multi column combobox? One
that supports a lot of columns, possiblities to get the values in each
column for the selected item, adding a DataSource etc...
It should be free, and if possible with the source code (in VB.NET).

Thanks a lot in advance,

Pieter
Nov 21 '05 #1
27 17122
Pieter,

What is for you a multicolumn combobox. For me it sounds as more comboboxes
side by side in a group box. However probably you mean something else with
it?

Cor
Nov 21 '05 #2
Hi Cor,

I mean:
1 combobox, but with in the dropdown-list more than 1 columns (and not 1
like there is on the normal combobox).

Pieter

"Cor Ligthert" <no************ @planet.nl> wrote in message
news:uX******** ******@TK2MSFTN GP12.phx.gbl...
Pieter,

What is for you a multicolumn combobox. For me it sounds as more comboboxes side by side in a group box. However probably you mean something else with
it?

Cor

Nov 21 '05 #3
Pieter,

I still don't know what you mean, did you ever tried this, try it and tell
than what is good or wrong on it.

\\\needs 3 comboboxes side by side on a form and pasting in this code.
Private Sub Form1_Load(ByVa l sender _
As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
Dim dt As New DataTable
dt.Columns.Add( "a")
dt.Columns.Add( "b")
dt.Columns.Add( "c")
dt.LoadDataRow( New Object() {"Pieter", "Belgie", "Lambik"}, True)
dt.LoadDataRow( New Object() {"Cor", "Holland", "Heineken"} , True)
dt.LoadDataRow( New Object() {"Rinze", "Zeeland", "Stella"}, True)
dt.DefaultView. Sort = "b"
ComboBox1.DataS ource = dt
ComboBox1.Displ ayMember = "a"
ComboBox1.Value Member = "b"
ComboBox2.DataS ource = dt
ComboBox2.Displ ayMember = "b"
ComboBox2.Value Member = "c"
ComboBox3.DataS ource = dt
ComboBox3.Displ ayMember = "c"
ComboBox3.Value Member = "a"
End Sub
///
I hope this helps,

Cor
Nov 21 '05 #4
Hehe no: you have more than one comboboxes.
Waht I need is only 1 (one, één, uno, eins) combobox :-)
With multiple (more than one, meerdere) columns in the dropdown-list :-)

Like you can see here:
http://www.vbaccelerator.com/home/NE...ox/article.asp
or here:
http://www.codeproject.com/vb/net/multicolumncombo.asp
or here:
http://www.codeguru.com/Cpp/controls...cle.php/c1829/

But none of these are really nice. So I'm looking for a real good solution.

And also for you Cor: how do YOU call these things? :-)
"Cor Ligthert" <no************ @planet.nl> wrote in message
news:u6******** ******@TK2MSFTN GP15.phx.gbl...
Pieter,

I still don't know what you mean, did you ever tried this, try it and tell
than what is good or wrong on it.

\\\needs 3 comboboxes side by side on a form and pasting in this code.
Private Sub Form1_Load(ByVa l sender _
As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
Dim dt As New DataTable
dt.Columns.Add( "a")
dt.Columns.Add( "b")
dt.Columns.Add( "c")
dt.LoadDataRow( New Object() {"Pieter", "Belgie", "Lambik"}, True)
dt.LoadDataRow( New Object() {"Cor", "Holland", "Heineken"} , True)
dt.LoadDataRow( New Object() {"Rinze", "Zeeland", "Stella"}, True)
dt.DefaultView. Sort = "b"
ComboBox1.DataS ource = dt
ComboBox1.Displ ayMember = "a"
ComboBox1.Value Member = "b"
ComboBox2.DataS ource = dt
ComboBox2.Displ ayMember = "b"
ComboBox2.Value Member = "c"
ComboBox3.DataS ource = dt
ComboBox3.Displ ayMember = "c"
ComboBox3.Value Member = "a"
End Sub
///
I hope this helps,

Cor

Nov 21 '05 #5
Pieter,
Hehe no: you have more than one comboboxes.
Waht I need is only 1 (one, één, uno, eins) combobox :-)
With multiple (more than one, meerdere) columns in the dropdown-list :-)


Do you mean a combobox where in you can say something as.

Datasource = mytable
Displaymembers are a, b, c
Valuemembers are x, y, z

And than it is displayed in one string row and returned in one string row,
ore do you want to have returned independent objects.

Cor
Nov 21 '05 #6
I prefer independed objects. something like the .Item value most controls
have...
..Item(0).Text, .Item(1).Text, .Item(3).Text etc...

The best would be if you could thread the Datasource/DropDownList as a
DataTable, and the selected value as a DataRow...

"Cor Ligthert" <no************ @planet.nl> wrote in message
news:eM******** ******@TK2MSFTN GP09.phx.gbl...
Pieter,
Hehe no: you have more than one comboboxes.
Waht I need is only 1 (one, één, uno, eins) combobox :-)
With multiple (more than one, meerdere) columns in the dropdown-list :-)


Do you mean a combobox where in you can say something as.

Datasource = mytable
Displaymembers are a, b, c
Valuemembers are x, y, z

And than it is displayed in one string row and returned in one string row,
ore do you want to have returned independent objects.

Cor

Nov 21 '05 #7
Pieter,

The best would be if you could thread the Datasource/DropDownList as a
DataTable, and the selected value as a DataRow...

And what is than wrong with concatination the columns using an extra columns
in the datatable as often is showed here in these newsgroups. For the
valuemembers from the datarow the concurrencymana ger can of course be used.

(I know a reason however asking it to you)

:-)

Cor
Nov 21 '05 #8
It's jsut ugly :-)
It won't be a nice presentation with columns, but just every time a line
with a lot af values next to each other, and absolutely not well-presented.

Actually: it's really the solution with the columns I need. and I jsut know
that there are a lot of them on the internet, but I jsut want to have the
opinion of the people who used them :)

"Cor Ligthert" <no************ @planet.nl> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Pieter,

The best would be if you could thread the Datasource/DropDownList as a
DataTable, and the selected value as a DataRow...
And what is than wrong with concatination the columns using an extra

columns in the datatable as often is showed here in these newsgroups. For the
valuemembers from the datarow the concurrencymana ger can of course be used.
(I know a reason however asking it to you)

:-)

Cor

Nov 21 '05 #9
I don't know about free ones - the quality/support there may not bee too
reliable. There are definitely vendors out there that sell controls like
this (e.g. Infragistics).

If spending money is not an option, then you can contenate fields together
as was suggested in other thread. You can pad each columns to a set # of
characters, so the text in each column lines up. This should work if a fixed
width font is being used.

"DraguVaso" <pi**********@h otmail.com> wrote in message
news:eR******** ******@TK2MSFTN GP15.phx.gbl...
Hi,

The Multi column comboBox is a well spoken control, that a lot of people
desire, and a lot of people buildtheir own. I tested a lot of them, but
none
really was what i wanted to have.
But does anybody knows where I can find the best Multi column combobox?
One
that supports a lot of columns, possiblities to get the values in each
column for the selected item, adding a DataSource etc...
It should be free, and if possible with the source code (in VB.NET).

Thanks a lot in advance,

Pieter

Nov 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
3282
by: DraguVaso | last post by:
Hi, The Multi column comboBox is a well spoken control, that a lot of people desire, and a lot of people buildtheir own. I tested a lot of them, but none really was what i wanted to have. But does anybody knows where I can find the best Multi column combobox? One that supports a lot of columns, possiblities to get the values in each column for the selected item, adding a DataSource etc... It should be free, and if possible with the...
2
4550
by: jaYPee | last post by:
i have search a lot of newsgroup and some website to find a sample for multi column combobox in datagrid but no luck. there are so many sample i found but it is not located in datagrid. i would be very glad if you can direct me to a website that has this sample thanks in advance.
6
11785
by: CindyH | last post by:
Hi Does anyone know how to create a multi column combo box from the same table? Thanks, Cindy
1
2004
by: stabilo | last post by:
VB.NET 2003 On my Winform, I have a combobox filled with data from a SQL table. How can I have this combobox with 3 or 4 columns ? Is there a control that could have the same type of layoout and behavior as for the Access combox box control ? I'm iin fact moving from VA to VB.NET
10
4001
by: SM | last post by:
Hello I'm trying to create a multi dimensional array in JavaScript, but after some reading i still can't figure out how to apply it to my model. Here it is: I have a list A and for each item in the list A i want to associate an undetermined number of items. The complication for me is the fact that the items to associate in list A are undetermined.
4
4281
by: yaaara | last post by:
Hi, Here's another problem that I came up with: I have a combobox in a form with 2 columns. What I need is the following: 1. The combobox to be cleared on form_load (not only the text, but also the list) 2. The combobox to be populated with two fields in a different database (I'm pulling these two lists using a recordset and the data is ready to be fetched into the combobox)... I'm not sure how to populate the two different columns of...
12
4056
by: micarl | last post by:
How would i print a report based on criteria selected from several Combo Boxes as well as multiple Multi Select List Boxes, that are located on the same form? I can get one Multi List Box, just not several, to report using this code i found - Private Sub cmdPreview_Click()
1
3170
by: vgarzon | last post by:
Hi, I'm having issues setting a multi-column combobox in the right way. What I'm trying to do is that when I click on a table (access 2007 subform), a form should fill with the values of the record I clicked on. No problem until I have to fill correctly a multi-column combo for 2 reasons: - In the table I only have the value of one of the 2 columns (That can be solved if I query again one of my external tables, but if you have...
0
10728
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10405
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9558
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7959
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5782
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4602
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3227
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.