Listbox question

S

Stuart

If using AddItem to populate a listbox, and the item is a
long entry........Is there a way to force a carriage return,
rather than widen the listbox, please?

Regards.
 
D

Dick Kusleika

Stuart

I don't think you can have multiple lines for 1 entry in a listbox. With a
lot of coding you could put any continuation as a new item in the list. It
would take some work to piece it back together to use in any code. Another
option is to change the font of the listbox as a whole. Figure the largest
item that you are adding and adjust the font to accommodate that -
everything else will be smaller too.
 

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