Solved

Extending drop down view without physically extending drop down

Posted on 2002-04-09
2
139 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
[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
2 Comments
 
LVL 5

Accepted Solution

by:
rkot2000 earned 100 total points
ID: 6928376
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
ID: 7095982
sorry for the delay to giving you your points!!
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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

729 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