trichview.support
Re: Confusion about AddText and AddTextNL functions |
Author |
Message |
Daniel Albuschat |
Posted: 06/20/2005 9:07:34 Sergey Tkachenko wrote: > AddText is obsolete (it was introduced in TRichView version prior to 1.0, > before implementing the concept of paragraph styles), so always use > AddTextNL. > For example, to add the last part of your example, call > > rv.AddTextNL(#13'Attachments:'#13'file1'#13'file2', 0, 0, 0); > > Do you call RichView.Format after creating the document? May be this is the > cause of the problem. Hi, thanks for your reply. Sorry, I missed a small detail. ;-) The files are actually links to files, so I'm calling InsertStringTag for them. The files are always inserted at the beginning of the text (at the cursor's position?). How can I append them to the text? Thanks, Daniel |
Powered by ABC Amber Outlook Express Converter