trichview.com

trichview.support




Re: Open & Inserting RTF


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/13/2003 13:55:56


> When I open an RTF file which is center aligned all is fine, when I insert

> the same file using InsertRTFFromFileEd(FileName) the centering is gone ?


This must not happen in version 1.7

(in "Allow adding styles dynamically" mode, see the component property

editor)


>

> What is the best way to copy from a DBRichViewEdit to a RichViewEdit, I

> currently save to a RTF file which I then insert into the RichViewEdit. I

> insert multiple values like this from the DBRichViewEdit.


Its better to use stream (TMemoryStream) instead of file and RVF instead of

RTF - SaveRVFToStream, InsertRVFFromStreamEd





Powered by ABC Amber Outlook Express Converter