Why I cannot make the newline work properly in TextBox with Multiline property enabled already? Shouldn’t “\n” mean newline?

If I use
TextBox = “First line. \n Second line.”;
but result is
First line. Second line.

Try to use
TextBox = “First line. \r\n Second line.”;
then you will get what you want
First line.
Second line.

Remember to use “\r\n” on TextBox in windows application. :)

Random Posts