| 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 |