This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C87E02.7AFEEA60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Env.: VS2008, WM6, .NET CF 3.5

Hi All,

I need to display columns in a listbox. Although VS's forms designer =
lets you think embedding \t works, it actually doesn't :-(
Is there any way to add this behaviour to the ListBox? Actually, what I =
need is ListBox.UseTabStops for CF.

I don't use a ListView for this reason: Some items have text splitted =
into 3 columns but some just display one chunk of text accross the width =
of the control, such as this (assuming formatting of this post is =
preserved):

Lorem ipsum dolor sit amet
consectetuer adipiscing elit.
Lor 12345687 ipsum
Lorem 987654321 ipsum
Lore 654789123 ipsum

I considered using a monospaced font but it looks ugly.

Any solution will be warmly welcome.

TIA,

Serge.
------=_NextPart_000_000A_01C87E02.7AFEEA60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6000.16609" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Env.: VS2008, WM6, .NET CF =
3.5</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I need to display columns in a listbox. =
Although=20
VS's forms designer lets you think embedding \t works, it actually =
doesn't=20
:-(</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there any way to add this behaviour =
to the=20
ListBox? Actually, what I need is ListBox.UseTabStops for =
CF.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I don't use a ListView for this reason: =
Some items=20
have text splitted into 3 columns but some just display one chunk of =
text=20
accross the width of the control, such as this (assuming formatting of =
this post=20
is preserved):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Lorem ipsum dolor sit =
amet</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>consectetuer adipiscing =
elit.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Lor&nbsp; =
&nbsp;&nbsp;12345687&nbsp;&nbsp;=20
ipsum</FONT></DIV>
<DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>Lorem&nbsp;&nbsp;987654321&nbsp;=20
ipsum</FONT><FONT size=3D2></FONT></DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3D"Courier New" size=3D2>Lore &nbsp; 654789123&nbsp;=20
ipsum</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I considered using a monospaced font =
but it looks=20
ugly.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Any solution will be warmly welcome.</DIV>
<DIV>&nbsp;</DIV>
<DIV>TIA,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Serge.</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_000A_01C87E02.7AFEEA60--

Re: ListBox.UseTabStops by ctacke/>

ctacke/>
Tue Mar 04 08:33:15 CST 2008

This is a multi-part message in MIME format.

------=_NextPart_000_05E8_01C87DD2.63F390D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Owner draw the listbox.


--=20

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Serge Wautier" <serge@wautier.nospam.net> wrote in message =
news:eG3scoffIHA.4196@TK2MSFTNGP04.phx.gbl...
Env.: VS2008, WM6, .NET CF 3.5

Hi All,

I need to display columns in a listbox. Although VS's forms designer =
lets you think embedding \t works, it actually doesn't :-(
Is there any way to add this behaviour to the ListBox? Actually, what =
I need is ListBox.UseTabStops for CF.

I don't use a ListView for this reason: Some items have text splitted =
into 3 columns but some just display one chunk of text accross the width =
of the control, such as this (assuming formatting of this post is =
preserved):

Lorem ipsum dolor sit amet
consectetuer adipiscing elit.
Lor 12345687 ipsum
Lorem 987654321 ipsum
Lore 654789123 ipsum

I considered using a monospaced font but it looks ugly.

Any solution will be warmly welcome.

TIA,

Serge.
------=_NextPart_000_05E8_01C87DD2.63F390D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3268" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Owner draw the listbox.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV><FONT face=3DArial =
size=3D2>
<DIV><BR>-- </DIV>
<DIV>&nbsp;</DIV>
<DIV>Chris Tacke, eMVP<BR>Join the Embedded Developer Community<BR><A=20
href=3D"http://community.opennetcf.com">http://community.opennetcf.com</A=
></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Serge Wautier" &lt;<A=20
=
href=3D"mailto:serge@wautier.nospam.net">serge@wautier.nospam.net</A>&gt;=
wrote=20
in message <A=20
=
href=3D"news:eG3scoffIHA.4196@TK2MSFTNGP04.phx.gbl">news:eG3scoffIHA.4196=
@TK2MSFTNGP04.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Env.: VS2008, WM6, .NET CF =
3.5</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I need to display columns in a =
listbox. Although=20
VS's forms designer lets you think embedding \t works, it actually =
doesn't=20
:-(</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there any way to add this =
behaviour to the=20
ListBox? Actually, what I need is ListBox.UseTabStops for =
CF.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I don't use a ListView for this =
reason: Some=20
items have text splitted into 3 columns but some just display one =
chunk of=20
text accross the width of the control, such as this (assuming =
formatting of=20
this post is preserved):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Lorem ipsum dolor sit =
amet</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>consectetuer adipiscing=20
elit.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Lor&nbsp;=20
&nbsp;&nbsp;12345687&nbsp;&nbsp; ipsum</FONT></DIV>
<DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>Lorem&nbsp;&nbsp;987654321&nbsp;=20
ipsum</FONT><FONT size=3D2></FONT></DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3D"Courier New" size=3D2>Lore &nbsp; 654789123&nbsp;=20
ipsum</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I considered using a monospaced font =
but it looks=20
ugly.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Any solution will be warmly welcome.</DIV>
<DIV>&nbsp;</DIV>
<DIV>TIA,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Serge.</DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_05E8_01C87DD2.63F390D0--