Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Visual Basic (Classic) FAQ


How to implement a MultiColumn ComboBox by SBendBuckeye
Posted: 27 May 05 (Edited 29 May 05)

Here is a link to a MultiColumn ComboBox from The Code Project. It is an excellent control and source code is included. I am using it for one of my projects.

There is an article describing the code and also a message board pertaining to the code at the very end of the page.


You have to be a member to download code but all that is required is an email address and password.

Once you have installed it, while in the IDE, click on Tools, Add/Remove ToolBox items and then browse to the dll file and select it. The control will show up on the components area and can be drug onto a form design surface like any other combobox, textbox, etc.

Here are a couple gotchas I encountered:

1) If you are going to define SourceDataTable in code then set the Loading property to ComboboxItems at design time and then change it in your code when you set the SourceDataTable property.

2) You can use the standard combobox DataSource property for Tables and then you can use ValueMember and DisplayMember as you normally would. HOWEVER, if you are defining them in code, you MUST set up the SourceDataTable property first and THEN the DataSource, otherwise you will get an error.

3). It does not currently support filtering by using a DataView with a RowFilter. It will work, but the drop down portion will not draw properly.

Back to Visual Basic (Classic) FAQ Index
Back to Visual Basic (Classic) Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close