Home All Groups Group Topic Archive Search About

Carriage return in label

Author
7 Apr 2005 10:35 AM
Nathan
Is there a way to put a carriage return between tex in a label?  Neither
ControlChars.CR and vbCR seem to work.

Thanks,
Nathan

Author
7 Apr 2005 10:38 AM
Oenone
Nathan wrote:
> Is there a way to put a carriage return between tex in a label?
> Neither ControlChars.CR and vbCR seem to work.

Try ControlChars.CrLf or vbCrLf.

--

(O) e n o n e
Author
7 Apr 2005 11:03 AM
Herfried K. Wagner [MVP]
"Nathan" <nkmacgregor.TakeThis***@softhome.net> schrieb:
> Is there a way to put a carriage return between tex in a label?  Neither
> ControlChars.CR and vbCR seem to work.

Use 'ControlChars.NewLine' or 'Environment.NewLine' instead.  Windows uses
'ControlChars.CrLf' as new line string, but other operating systems may use
other strings.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
7 Apr 2005 11:45 AM
Nathan
Thanks, fellas

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:%23dzT9F2OFHA.2568@TK2MSFTNGP14.phx.gbl...
> "Nathan" <nkmacgregor.TakeThis***@softhome.net> schrieb:
>> Is there a way to put a carriage return between tex in a label?  Neither
>> ControlChars.CR and vbCR seem to work.
>
> Use 'ControlChars.NewLine' or 'Environment.NewLine' instead.  Windows uses
> 'ControlChars.CrLf' as new line string, but other operating systems may
> use other strings.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>
Author
7 Apr 2005 12:24 PM
ECathell
I don't know if its right according to these other posts but I use chr(13).


--
--Eric Cathell, MCSA
Show quoteHide quote
"Nathan" <nkmacgregor.TakeThis***@softhome.net> wrote in message
news:eb9gE21OFHA.904@tk2msftngp13.phx.gbl...
> Is there a way to put a carriage return between tex in a label?  Neither
> ControlChars.CR and vbCR seem to work.
>
> Thanks,
> Nathan
>