Multline text in RichViewEdit function SetItemText
Multline text in RichViewEdit function SetItemText
I need to insert a multiline text in RichViewEdit function SetItemText but I'm having problems. How can i do that ? Is that possible ?
-
- Site Admin
- Posts: 17534
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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
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