Connecting Tech Pros Worldwide Help | Site Map

Multi-line ListView in VS.NET

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 21st, 2006, 05:15 PM
JimC
Guest
 
Posts: n/a
Default Multi-line ListView in VS.NET

I think this question has been asked before, but I haven't found
a satisfactory answer.

Does anyone know how to make a ListView that displays multiple
lines in a row?

Jim







  #2  
Old January 21st, 2006, 08:45 PM
Bruce Wood
Guest
 
Posts: n/a
Default Re: Multi-line ListView in VS.NET

I'm not 100% sure, but I think that you have to move up to a grid for
that.

  #3  
Old January 22nd, 2006, 03:25 PM
James Park
Guest
 
Posts: n/a
Default Re: Multi-line ListView in VS.NET

"JimC" <jimc@nospam.pls> wrote in message
news:QMuAf.1372$2O6.586@newssvr12.news.prodigy.com ...[color=blue]
> Does anyone know how to make a ListView that displays multiple
> lines in a row?[/color]

Do you mean something like setting the View property to Details?


  #4  
Old January 22nd, 2006, 05:55 PM
JimC
Guest
 
Posts: n/a
Default Re: Multi-line ListView in VS.NET


"James Park" <abc@xyz.com> wrote in message
news:%23ac3X72HGHA.2064@TK2MSFTNGP09.phx.gbl...[color=blue]
> "JimC" <jimc@nospam.pls> wrote in message
> news:QMuAf.1372$2O6.586@newssvr12.news.prodigy.com ...[color=green]
>> Does anyone know how to make a ListView that displays multiple
>> lines in a row?[/color]
>
> Do you mean something like setting the View property to Details?[/color]

Hmm. I'm not quite sure how that would make multi-line viewing
possible, but I may be failing to grasp something here. A
ListViewItem has a read-only property called DisplayRectangle
which unfortunately can't be set. Or I don't see a way of setting
it. Does the Text property (which is derived from Control.Text)
have some method that accepts multiline strings and then
forces its display rectangle to re-size? That would probably
accomplish what I want.

Or is there perhaps some ListViewItem or SubItems
style setting that I've overlooked? If anyone knows,
t.i.a!

Jim






 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.