I had the same problem but I fixed using \r\n instead of only \n.

-----Original Message-----
From: Patrick Burrows [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 11:39 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] C# and Multiline TextBox


Got me a textbox set to multiline. I do this:
textBox1.Text = "s\ns";

And it shows: "s[]s" (where [] is the black line thing that says "I have
a carriage return, but I'm not going to actually act on it").

Why doesn't it show:
s
s

?


Patrick Burrows
Stores are open but I Ain't got no money
--------------------
Now Playing: tenacious d - double team (unnamed server)
--------------------

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to