trichview.support
Re: Mailmerge with multi-line text |
Author |
Message |
Sergey Tkachenko |
Posted: 05/22/2003 21:34:42 1) You can use methods of editor (selecting the old text with SetSelectionBounds, then inserting mutliline text with InsertText) 2) You can do like in the demo Demos\Delphi\Assorted\Fields\MailMerge2\ 3) If you badly need it, I can give a code how to insert several text items in RichView at the given place using undocumented methods > Hi, > > How do you substitute text for an item that contains multiple lines? If > I do a SetTextA(AItem, 'Line One' + #13 + #10 + 'Line Two') it just > embeds control characters for the carriage return and line feed. > > Thanks, > > Sean > |
Powered by ABC Amber Outlook Express Converter