T
Thomas Bodell
Hi All,
I have a strange problem i my app. using the RichTextBox Class. I am setting
the text proprty in my control with some text, this text includes "\r\n"
line breakes, and it looks fine. Then I access the control by using some
method e.g. GetLineFormCharIndex() or Select() and then when I look at the
text property all my "\r\n" is just "\n". Has anyone else experienced this
problem? My real problem is that I try to find some text containing "\r\n"
by using IndexOf() on the text property, and the search string comes from a
database and contains "\r\n".
TIA
Thomas Bodell
I have a strange problem i my app. using the RichTextBox Class. I am setting
the text proprty in my control with some text, this text includes "\r\n"
line breakes, and it looks fine. Then I access the control by using some
method e.g. GetLineFormCharIndex() or Select() and then when I look at the
text property all my "\r\n" is just "\n". Has anyone else experienced this
problem? My real problem is that I try to find some text containing "\r\n"
by using IndexOf() on the text property, and the search string comes from a
database and contains "\r\n".
TIA
Thomas Bodell