Page 1 of 1

Create an RTF file

Posted: Wed Jul 19, 2006 6:55 pm
by E. Bartzokas
Hi all,

Any class available to write text into an .RTF file ?
I have to convert some memos into .RTF files, so my users can have colors, etc., when reading or editing them.

Thanks in advance.
Evans

ps. I have tested TESTRICH.PRG (RTF in a dialog).
It seems to be working fine with reading .RTF files.
I believe I can use this dialog for the kind of work
that I need it, with some modifications.

Posted: Wed Jul 19, 2006 7:25 pm
by Antonio Linares
Evans,

FWH provides CLASS TRtfFile (source\classes\rtffile.prg). Its not a complex class that may help you.

Posted: Wed Jul 19, 2006 8:32 pm
by E. Bartzokas
Antonio Linares wrote:Evans,

FWH provides CLASS TRtfFile (source\classes\rtffile.prg). Its not a complex class that may help you.
Antonio
Many thanks.

I'll have a look at the class file above, however, my aim is to be able
to write into an .RTF file from my code without showing anything on
screen. Once I prepare an .RTF file, then I can display it, and edit it
of course. Hopefully, the above class will help me.

Thanks again...
I'll see if I can get the results that I need.

Kind regards
Evans