What is the end-of-line character in RichTextBox

J

Just Me

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
 
H

Herfried K. Wagner [MVP]

* " Just Me said:
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?
 
J

Just Me

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top