textBox1.Text = "s\r\ns"; // works Walt Ritscher
-----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Patrick Burrows Sent: Thursday, May 30, 2002 8: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.