Blank Line on Save
Blank Line on Save
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?
-
- Site Admin
- Posts: 17553
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Blank Line on Save
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;
Each editor initially contains one empty text line. To remove it (before document generation or loading RTF file) call SRichViewEdit1.Clear;