Sunday, July 28, 2013

new line expression

Check if the Multiline property of your TextBox is set to true, then try the following in your Form1() constructor or in Form.Load():



textBox1.Text = "Hallo \r\nWorld";

In windows "\r\n" is the proper string for newline.


wizend


No comments:

Post a Comment