Page 1 of 1

SetCurrentItemText line feed trouble

Posted: Fri Nov 20, 2009 10:27 am
by Jonas
Hi!
I have a piece of code that includes the richviewedits SetCurrentItemText(string). The string i want to set the text to contains a line feed, but the line feeds a interpertated as two squares. Is there a way to get around this?
i've tried using different notations for the chars. The code is embedded in a quite complex code, so I can't get around the problems by inserting the text in another way. Any suggestions are gladly accepted.
Thanks

Posted: Fri Nov 20, 2009 5:41 pm
by Sergey Tkachenko
Item text cannot contain line breaks, so you cannot use SetCurrentItemText. You need to reconsider your code and use another way to insert text.