Solved

Mutli Column Combo Boxes

Posted on 2002-03-05
9
153 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
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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Accepted Solution

by:
escheider earned 10 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

930 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now