By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,041 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,041 IT Pros & Developers. It's quick & easy.

What is the end-of-line character in RichTextBox

P: n/a
I insert text in a RichTextBox ending each line with vbCrLf.

I think when I search the RichTextBox text I do not find any CR's.

In the Text property is the end of line char a LineFeed?

Are the Cd's discared?

What is it in a file?

Should I be using something other than vbCrLf to separated inputted lines?
Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* " Just Me" <ne********@a-znet.com> scripsit:
I insert text in a RichTextBox ending each line with vbCrLf.

I think when I search the RichTextBox text I do not find any CR's.

In the Text property is the end of line char a LineFeed?


Are you displaying plain text or rich text in the richtextbox?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

P: n/a
In the box RichText but I'm searching the Text property string.

If you know I'd like to know what is used for end-of-line in
both the RtfText and Text property strings.

Would the answers be different if I was displaying plain text?
I do that sometimes.

Thanks

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Od**************@TK2MSFTNGP10.phx.gbl...
* " Just Me" <ne********@a-znet.com> scripsit:
I insert text in a RichTextBox ending each line with vbCrLf.

I think when I search the RichTextBox text I do not find any CR's.

In the Text property is the end of line char a LineFeed?


Are you displaying plain text or rich text in the richtextbox?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.