Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListView Text Wrap

Status
Not open for further replies.

txchristina43

Programmer
Aug 30, 2005
3
US
Hi All,

I need to let the text in ListView word wrap so that the content of the listview can be show in more than 1 line in a single row.

Is it possible? If not, does anyone have any other suggestions? Your help is greatly appreciated.

Thanks!
 
Hi txchristina43

I don't think that what you are asking is possible.

A solution would be to add a label to the user form which contains the full text of the selected item in the list box.

If you have a list box named 'ListBox1' and a label named 'ListboxLabel' then the code associated with the listbox would be

Me.ListBoxLabel.Caption = Me.ListBox1.Value

The 'ListBoxLabel' can be as large as possible with Word Wrapping enabled.

Hope this helps.

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top