textBox linefeeds

  • Thread starter Thread starter andrewcw
  • Start date Start date
A

andrewcw

Simple question - I have a text box and the multiline,and
word wrap are turned on.
this.txtProcessInfo.Text="a\n\b\nc\n";
I think this would display
as
a
b
c
but I just get abc.

What should I set or do different ? Thanks
 
I was about to ask a question really similar!!!

I don't the answer yet... but when I put this string:
"My\nString" in the text property of my "multiline", "wordwrap" and
"acceptenter" text box, I got the same string but with a "square" character
in the middle instead of my linefeed...

What should I do to obtain the correct result?
 
Back
Top