trichview.com

trichview.support




Re: SaveRTFToStream inserts blank line at top


Return to index


Author

Message

Sergey Tkachenko

Posted: 03/09/2004 22:10:09


Probably it's not saving but loading adds this line.

Each TRichViewEdit initially has one empty line.

LoadRTF does not clear the document, it appends the loaded file to its end.

Call Clear before LoadRTF, and this problem will be solved.



> I'm trying out TRichView (very nice...)...

>

> My question is...

>    when I SaveRTFToStream it inserts a LineFeed at the begining of the

> page...

>    when I load the Stream... it shows a blank line at top of document

>

>   so if I save and load many times, I get that many blank lines at the

> begining of the document.

>

> Thanks for your help,

> Esteban

>

>





Powered by ABC Amber Outlook Express Converter