473,395 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

combox box control question

djc
I am tinkering with vb.net in visual studio 2005... I remember way back in
vb4 days that you could have multicolumn comboboxes... I think. I could be
wrong. I could not see anywhere in the VS2005 combobox properties where to
make this happen? like a 'columns' property or something? I only saw ways to
control display vs value for a single column combobox and that seemed to
only be when bound to some kind of datasource like a database table.

anyone care to enlighten this poor fool?
Feb 2 '06 #1
2 1793
You can use the method outlined at the link below to host controls in a
popup window when the ComboBox is dropped down. If you want multiple columns
you could host a ListView or a DataGridView.
http://blogs.msdn.com/jfoscoding/arc...03/384430.aspx

There are also articles that describe how to create a multi column
appearance in a ComboBox.
http://www.codeproject.com/vb/net/multicolumncombo.asp
http://www.codeproject.com/cs/combob...olumncombo.asp

--
Tim Wilson
..NET Compact Framework MVP

"djc" <no***@nowhere.com> wrote in message
news:u5**************@TK2MSFTNGP10.phx.gbl...
I am tinkering with vb.net in visual studio 2005... I remember way back in
vb4 days that you could have multicolumn comboboxes... I think. I could be
wrong. I could not see anywhere in the VS2005 combobox properties where to
make this happen? like a 'columns' property or something? I only saw ways to control display vs value for a single column combobox and that seemed to
only be when bound to some kind of datasource like a database table.

anyone care to enlighten this poor fool?

Feb 2 '06 #2
djc
thanks, I'll check them out.

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:Or**************@TK2MSFTNGP09.phx.gbl...
You can use the method outlined at the link below to host controls in a
popup window when the ComboBox is dropped down. If you want multiple columns you could host a ListView or a DataGridView.
http://blogs.msdn.com/jfoscoding/arc...03/384430.aspx

There are also articles that describe how to create a multi column
appearance in a ComboBox.
http://www.codeproject.com/vb/net/multicolumncombo.asp
http://www.codeproject.com/cs/combob...olumncombo.asp

--
Tim Wilson
.NET Compact Framework MVP

"djc" <no***@nowhere.com> wrote in message
news:u5**************@TK2MSFTNGP10.phx.gbl...
I am tinkering with vb.net in visual studio 2005... I remember way back in vb4 days that you could have multicolumn comboboxes... I think. I could be wrong. I could not see anywhere in the VS2005 combobox properties where to make this happen? like a 'columns' property or something? I only saw
ways to
control display vs value for a single column combobox and that seemed to
only be when bound to some kind of datasource like a database table.

anyone care to enlighten this poor fool?


Feb 3 '06 #3

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

Similar topics

4
by: Charles A. Lackman | last post by:
Hello, I have a combox that I am trying to get to work in the following fashion. As you type in the combox that the item that matches what you are type is selected. as you type a last name:...
2
by: Alpha | last post by:
I have a window application. On one of the form, there is a listbox and a few combox. The lstSchItem has a dataview as a datasource. The comboxes are bind to its selected value but through the...
10
by: Eva | last post by:
Does anyone know how i can connect my combobox to my acces DB? i have tried setting the datasource to a dataset but i cannot seem to locate the item property under the DataBindings list. I ended...
2
by: Bob | last post by:
The scenario is that of the employees table wherein there's an EmployeeId and a ReportsTo field in the same table. The combobox is one in a datagrid view that lets you select an employee from the...
5
by: CCLeasing | last post by:
Hello, I have searched google but can not find a straight forward answer to my problem. Hopefuly someone will be kind enough to offer their expertise. Please forgive if this seems a bit convoluted...
0
by: CCLeasing | last post by:
Hello, I have searched google but can not find a straight forward answer to my problem. Hopefuly someone will be kind enough to offer their expertise. Please forgive if this seems a bit convoluted...
1
by: neo1ra | last post by:
Hi, I'm doing a search combox to pop up and specific record. Everything is working fine until I make a change to the record that I'm working on and try to move to other record. A error message...
2
by: haringmunti | last post by:
hi, im new to vb.net and i think it is very interesting. im taking a course on it right now and sadly, the one giving the lecture is not doing a good job. anyway, my question is how do i make a...
1
by: dewgan | last post by:
I have a form with a combox box where the list is populated via a linked table. This works fine. I have a text box that is filled with the name selected in the combox box. That name is then added...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.