Page 1 of 1

Multline text in RichViewEdit function SetItemText

Posted: Tue Oct 17, 2006 3:08 pm
by VT
I need to insert a multiline text in RichViewEdit function SetItemText but I'm having problems. How can i do that ? Is that possible ?

Posted: Tue Oct 17, 2006 3:34 pm
by Sergey Tkachenko
Item cannot contain multiline text.
In order to implement "multiline SetItemText", you need to modify text of one item (the first line) and insert several new text items (other lines) after it. Sorry, there are no documented methods for inserting text items in the specified position of TRichView (only in editor).
But there is an example how to do it:
http://www.trichview.com/support/files/mailmerge3.zip