Board index » delphi » Save formatted text from DBRichEdit to rtf-file

Save formatted text from DBRichEdit to rtf-file

Hello,
I hope you can help me with this question.

I want to save formatted text from a DBRichEdit to a rtf-file without
loosing the formatting. Lines.SaveToFile and Lines.SaveToStream looses the
formatting. I use Delphi7 pro and a dBase-table.

Thank you,
Klas Westholm
--
*******************************************
Klas Westholm
DataKatten
Lingonstigen 3 B
271 38 Ystad
Tel: 0411-732 73, 0411-107 55
Mobil: 070-789 17 53
E-post: Klas.Westh...@datakatten.se
Hemsida: http://www.datakatten.se

 

Re:Save formatted text from DBRichEdit to rtf-file


Quote
In article <3edb13c...@newsgroups.borland.com>, Klas Westholm wrote:
> I want to save formatted text from a DBRichEdit to a rtf-file without
> loosing the formatting. Lines.SaveToFile and Lines.SaveToStream looses the
> formatting. I use Delphi7 pro and a dBase-table.

Use the database field the control is linked to. It is usually a BLOB field,
so has a convenient SaveToFile method.

--
Peter Below (TeamB)  
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be

Other Threads