New line in multiline text box

G

Guest

Hey,

was just wondering if anyone knows why in a multiline text box i need the escape characters "\r\t" together to go to the
next line.

thanks,
Clive
 
C

ClayB [Syncfusion]

Normally, I think you would want to use the Environment.NewLine property to
inidcate the end of a line.

========================
Clay Burch, .NET MVP

Visit www.syncfusion.com for the coolest tools

Clive said:
Hey,

was just wondering if anyone knows why in a multiline text box i need the
escape characters "\r\t" together to go to the
 
S

Saurabh

I thought it was "\r\n", din't know it works for "\r\t"

--Saurabh
Clive said:
Hey,

was just wondering if anyone knows why in a multiline text box i need the
escape characters "\r\t" together to go to the
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?Q2xpdmU=?= said:
was just wondering if anyone knows why in a multiline text box i need the escape characters "\r\t" together to go to the
next line.

Just use 'Environment.NewLine' or in VB.NET 'ControlChars.NewLine',
which is more "high-level"...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top