What is the end-of-line character in RichTextBox

  • Thread starter Thread starter Just Me
  • Start date Start date
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
 
* " 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?
 
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
 
Back
Top