Expanding Combo box

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Expanding Combo box

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:12 pm

by Leigh Roberts >> Wed, 27 Jan 1999 21:28:11 GMT

Does anyone have a combo box control that expands it's list width to include the widest entry in the list?

To out this plainer: Say a combo box control is drawn as 12 characters wide. But the actual list includes strings 30 characters long. The truncated list items in a standard combo may become unintelligable using only 12 characters. However if when you click on the modified combo box the drop down list expands to 30 characters wide (the widest entry in the list)and hence it becomes useable.

I have seen this implemented in other environments.

Leigh

Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 0 guests