• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

Extending drop down view without physically extending drop down

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
darrel
Asked:
darrel
1 Solution
 
rkot2000Commented:
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
 
darrelAuthor Commented:
sorry for the delay to giving you your points!!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now