Page 1 of 1

Blank Line on Save

Posted: Sat Jun 30, 2018 12:51 pm
by tiagosis
Hello, I use SRichViewEdit to save a RTF document the document is saving with an empty line at the top for each time the document is saved what do I avoid these lines?

Re: Blank Line on Save

Posted: Sat Jun 30, 2018 12:56 pm
by Sergey Tkachenko
I believe this empty line is added not on RTF save, but on document generation or loading.
Each editor initially contains one empty text line. To remove it (before document generation or loading RTF file) call SRichViewEdit1.Clear;

Re: Blank Line on Save

Posted: Sat Jun 30, 2018 2:03 pm
by tiagosis
solved the problem