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
Solved

Mutli Column Combo Boxes

Posted on 2002-03-05
9
156 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

860 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