Solved

Extending drop down view without physically extending drop down

Posted on 2002-04-09
2
134 Views
Last Modified: 2010-05-02
I'm using Visual Basic 6.0 on windows 2000
I've seen code for this before, but haven't been able to locate it lately. I have a program with a drop down populated from a database. The form I'm using is already a bit busy, so I don't want to extend the physical size of the drop down. I'd like to be able to add code to drop down event that will act somewhat like a "tool tip" and extend the view as the user moves mouse down list of data in drop down. Some of the entries in the database are longer than the length of the drop down.
Thanks for any help.
0
Comment
Question by:darrel
2 Comments
 
LVL 5

Accepted Solution

by:
rkot2000 earned 100 total points
Comment Utility
FOR WIDTH :

http://www.vb2themax.com/Item.asp?PageID=TipBank&ID=115


FOR TOOLTIP :

Private Sub Combo1_Change()
  Combo1.ToolTipText = Combo1.Text
End Sub

Private Sub Combo1_Click()
  Combo1.ToolTipText = Combo1.Text
End Sub
0
 

Author Comment

by:darrel
Comment Utility
sorry for the delay to giving you your points!!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

743 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

19 Experts available now in Live!

Get 1:1 Help Now