?
Solved

Mutli Column Combo Boxes

Posted on 2002-03-05
9
Medium Priority
?
161 Views
Last Modified: 2010-05-02
Does anyone know how to create a multicolumn combobox.  MSDN tells you to change the column property. Yet the standard combobox in the toolbox doen't have a cloumn property.
0
Comment
Question by:GMorgan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 1

Expert Comment

by:S2
ID: 6842696
A listbox has columns a combobox doesn't, you can create your own combo box control with a button that has the combobox drop down arrow a textbox and a listbox with multiple columns, write events for the conrtol and there you go a combobox with multiple columns.
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 6842854
You can try using the combobox found in the MS Forms 2.0 library, but that one has restricted use (any machine where it's used must have an MS Office license.)
0
 
LVL 3

Expert Comment

by:Bahnass
ID: 6843017
May be I misunderstood Q
Never mind if not what U ment

but U can Sent tab chr to have combo items like

combo1.additem str1 & chr(vbkeytab) & str2 & chr(vbkeytab) & str3

Item1      Price1        kjgh kjh jk
Item2      Price2        bla bla
Item3      Price3        hjkghjkgjkg

by some API U can set tab width
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:GMorgan
ID: 6843161
Thanks for the help with the list box but I'm still a little unsure of how to enter the data into each column...I don't want to use tabs though...cheers
0
 
LVL 4

Accepted Solution

by:
escheider earned 30 total points
ID: 6843339
Does it have to be a list box?  If not, use the Listview, which allows you to set up the desired columns.  If you add the component 'Microsoft Windows Common Controls' it will be available to your project
0
 
LVL 4

Expert Comment

by:escheider
ID: 6843343
Just realized you wanted a combo box.  What type of data are you trying to display to the user?
0
 

Author Comment

by:GMorgan
ID: 6843958
I'm trying to display a list of mp3's with their tag information.  
0
 

Author Comment

by:GMorgan
ID: 6843979
I'm trying to display a list of mp3's with their tag information.  
0
 
LVL 4

Expert Comment

by:escheider
ID: 6845063
Id use a listview..be perfect for what you're trying to do.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question