trichview.com

trichview.support




Re: When using LoadRTFFromStream, an extra newline is added at the beginning


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/16/2004 19:39:59


Call RichViewEdit1.Clear before LoadRTFFromStream.

Each RichViewEdit has one empty line initially, and LoadRTFFromStream

appends RTF to the end of document.


>

> Hello,

>

> When I use RichViewEdit.LoadRTFFromStream, I have the problem

> that the first line is always empty, and the text starts at the

> second line. For example, it happens in this example code:





Powered by ABC Amber Outlook Express Converter