Create an RTF file

Post Reply
User avatar
E. Bartzokas
Posts: 114
Joined: Tue Feb 14, 2006 8:13 am
Location: Corinth, Greece

Create an RTF file

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Evans,

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

Antonio Linares
www.fivetechsoft.com
User avatar
E. Bartzokas
Posts: 114
Joined: Tue Feb 14, 2006 8:13 am
Location: Corinth, Greece

Post 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
Post Reply