I think the textbox needs a CR-LF pair rather than just the newline
character

Try "s\r\ns" instead

Merak

> -----Original Message-----
> From: Patrick Burrows [mailto:[EMAIL PROTECTED]]
> Sent: 30 May 2002 16:39
> 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
>
> ?
>

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