Multline text in RichViewEdit function SetItemText

General TRichView support forum. Please post your questions here
Post Reply
VT
Posts: 18
Joined: Mon Jul 31, 2006 1:39 pm

Multline text in RichViewEdit function SetItemText

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

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