S sathya.cs Active member Joined May 24, 2009 Messages 31 Programming Experience Beginner Jan 24, 2010 #1 How to add text to new line in a RichTextBox?
jmcilhinney VB.NET Forum Moderator Staff member Joined Aug 17, 2004 Messages 15,092 Location Sydney, Australia Programming Experience 10+ Jan 24, 2010 #2 Line breaks are simply part of the text themselves. If you want a line break in the text then add a line break, e.g. VB.NET: myRichTextBox.AppendText(Environment.NewLine & "This text will appear on the next line.") Upvote 0 Downvote
Line breaks are simply part of the text themselves. If you want a line break in the text then add a line break, e.g. VB.NET: myRichTextBox.AppendText(Environment.NewLine & "This text will appear on the next line.")
A Archit Member Joined Jan 12, 2010 Messages 10 Programming Experience 1-3 Feb 8, 2010 #3 "some text " & vbcrlf & "Some text" Upvote 0 Downvote