Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This is nuts!

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
No one has built a dropdown combo box with more then 1 column???
How nuts is that?
There should me a way to get this to happen w/o useing a grid. Is there not an api to do this?

I can't even purchase one. The door to life is never locked, but few have the knowledge to open it.
 
I am not real sure what you are after. Do you just want to show 2 data items for each list item in the combo box?

nozzle designation and wall thk example:
------------------
10S 2.625
Std. 2.469
X-Stg. 2.323
160 2.125
XX-Stg. 1.771
------------------
If so, just concatenate the two values, padding them with spaces.
 
I just realized that this solution was already suggested in a separate post. Sorry!
 
thanks The door to life is never locked, but few have the knowledge to open it.
 
Take a look at the combo box found in the microsoft forms 2.0 library. It has a column property. Sorry, I have never used it so can be of any help there.
David Paulson


 
Hey David Paulson!

Thank You Thank You Thank You Thank You Thank You
Thank You Thank You Thank You Thank You Thank You
Thank You Thank You Thank You Thank You Thank You
Thank You Thank You Thank You Thank You Thank You

I never knew Microsoft Forms 2.0 library existed.
What is supposed to be used for anyway.
I found somthing called a userform?

The combo and list boxes are just what I wanted.
You can assign an array to them also.

This is very cool.

Gary The door to life is never locked, but few have the knowledge to open it.
 
Hey David. I tryed out the list/combo box and it's just what the doctor ordered!

Thanks again

Gary The door to life is never locked, but few have the knowledge to open it.
 

Gary,

I just tested this solution and seems to work great -- very similar to the Access combobox. Good job hunting.

When the Microsoft Forms 2.0 library is added, a whole bunch of controls are added to the toolbox. Some seem to be duplicates including the desired combobox and listbox. In other words, there seems to be two controls of type Combobox although they have different properties. Do you think this would cause a conflict when installing and registering an application?

Tarek

The more I learn, the more I need to learn!
 
I created a standard project and compiled it. Then I went to the package and deployment wizzard. I got it to make me a dependency file:
Project1.exe
VB6 Runtime and OLE Automation

When I added the new forms library it added a new file:
Project1.exe
VB6 Runtime and OLE Automation
FM20.DLL

The new dropbox is kept in a different dll then the runtime version.
I also tried both of them on the same page - works.

cool,

Gary



The door to life is never locked, but few have the knowledge to open it.
 

I love it when a plan comes together B-)

Tarek

The more I learn, the more I need to learn!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top