SetCurrentItemText line feed trouble

General TRichView support forum. Please post your questions here
Post Reply
Jonas
Posts: 1
Joined: Fri Nov 20, 2009 10:12 am

SetCurrentItemText line feed trouble

Post 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
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply