b b

b b

  • NA
  • 53
  • 0

TextBox problem with newLine

Nov 19 2009 2:04 AM

Hello,
I have a textbox called textBox1, which multiline property is true. When i insert a statement like:

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

its showing like :
Hello
World

But after that i want to set the cursor position on the third line. How to do that. I am using windows applicatio with C#.
regards,
bjb

Answers (3)