Word wrapping a combo box?

N

neilmber

I want my users to be able to select from a list of workplace competencies.
Each of the competencies belongs to a specific competency set. The set names
can be shortened to something that easily fits in a normally sized combo box.
But the competencies necessarily need to be long enough to distinguish one
from another. This means that they would need more than one line of text
display. So is there a way to wrap text in a (multi-column) combo box?
Other suggestions?

Thanks.
 
D

Douglas J. Steele

Not as far as I'm aware. However, the default behaviour of a combo box
allows you to make the width of the list far wider than the combo box itself
so that they can see everything while they're making their choice. Is that
sufficient?
 
J

Jonathan Parminter

-----Original Message-----
I want my users to be able to select from a list of workplace competencies.
Each of the competencies belongs to a specific competency set. The set names
can be shortened to something that easily fits in a normally sized combo box.
But the competencies necessarily need to be long enough to distinguish one
from another. This means that they would need more than one line of text
display. So is there a way to wrap text in a (multi- column) combo box?
Other suggestions?

Thanks.
.

Hi, Douglas' suggestion will work when the a user is
selecting an item from the list. When the list is closed
use a label control or textbox to display the extended
information.

Use the after_update event of the combobox to put the
information in the competancies column into the second
control

lblCompetancy.caption=cbo.column(1)

Luck
Jonathan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top