PDA

View Full Version : Help..Listbox and wordwrap



scorpio9
01-26-2007, 10:58 AM
Is it possible to make items in a listbox wordwrap ?

mdmackillop
01-26-2007, 01:48 PM
Hi Steve,
Welcome to the VBAX Word forum!
I don't believe this is possible. There's no wordwrap option.
Regards
MD

scorpio9
01-26-2007, 02:24 PM
I know that there is no wordwrap property associated with Listboxes, although there is with Textboxes.

I need the multi-select capabilty that the listbox provides, but moving a long string of text into a LB usually means that you cannot see the end of the string...hence the need to wordwrap.

Any other ideas?

TonyJollans
01-27-2007, 01:27 AM
There is no way this can be done - and it would probably cause a lot of confusion for users. You just have to make your listbox wide enough.

fumei
01-30-2007, 07:10 AM
Perhaps if you described the situation in more detail. I have no idea if this may help, but if it is matter of text strings that a user selects, you could dynamically change the Caption property of a cluster of Option Buttons, rather than a listbox.

If you are stuck with a listbox, then as Tony stated, you simply have to size the listbox appropriately.