Question
7
Replies
1262
Views
Posted: July 26, 2017
Last activity: July 26, 2017
RichTextBox and Text Area - New Line
Hello,
I need to add multiline text to these controls (RichTextBox - Windows Forms) and (TextArea - HTML).
Does anyone Know how to do this?
I have tried using \n together with the text I need, for instance "Line 1 \n Line 2 \n Line 3" and it simply does not work. It pus everything on the same line.
Thank you very much for your help.
Regards,
Lara
Use AppendText and pass in a "enter" key as the parameter. By that, I just mean .. click into the parameter and hit enter.