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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize Combo Box on Mousedown

Status
Not open for further replies.

Mindy343

Technical User
Sep 9, 2004
35
US
I have a combo box on my form that shows the class type, now my boss wants the "Type Description" to show, but only when the user clicks the drop down arrow. The types are generally two characters but most of the descriptions are very lengthy. Is there some code that will enlarge the combo box only when the user scrolls down to show the description . If thats not and option can you add control tips or something like that to the combo list so only the one highlighted shows a tip?
 
Hi,

Haven't you included the description in the combo?

This way, when the user clicks the combo: the list drops and shows both the Class type AND it's description.

E.g. combo properties: if the class field is 10 chars then make the combo width 10 chars.
In 'column widths' make the first column 10 chars and the second 50 (or whatever size) e.g. 1cm;5cm.

You'll have to experiment with the cm sizes.

ATB

Darrylle

Never argue with an idiot, he'll bring you down to his level - then beat you with experience.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top