Wrap text in ListBox?

E

Edward P Sager

Hello,

Is there a way to wrap the text which shows up in a ListBox?

Thank you,
edsager
 
S

Stephen Lebans

Sorry Edward, again the answer is no to the ListBox and yes to creating
a SubForm that resembles a ListBox.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
E

Edward P Sager

Is there a way to insert a string into the Field of a Table with code (i.e.,
& vbCrLf &) to manually create a word wrap effect, such as manually breaking
up the text?

thank you,
edsager
 
J

John Spencer (MVP)

You can put in the carraige return and line feed, BUT it will not show all the
lines. With the listbox control you get ONE LINE per record (row).

You can get multiple lines per record(row) with a subform approach, BUT all rows
will be the same height - unless Mr. Lebans has worked some magic that I am
unaware of.
 
S

Stephen Lebans

I do not understand your question Edward. Are you still trying to use a
ListBox instead of a TextBox control on a SubForm?

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
E

Edward P Sager

Yes. The reason is that those viewing this need it to be very simple and
have as few moving parts as possible. I think that being able to manipulate
any of the underlying data would be too tempting and confusing for my
audience.

What I figure is this: I will use abbreviations standard to the industry in
which I am working to cause the rows in my ListBox to fit all the data which
I desire.

Thank you,
edsager
 

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