trichview.com

trichview.support




Re: SaveRTFToStream inserts blank line at top


Return to index


Author

Message

Esteban Castorena

Posted: 03/10/2004 6:04:39


Thanks,

I had

   .clear;

   .format;

   .refresh;


for which I removed the .format (and .refresh) and it fixed my problem


Thanks!

Esteban



"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:404e1969$3@support.torry.net...

> 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