FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Create an RTF file
Posts: 114
Joined: Tue Feb 14, 2006 08:13 AM
Create an RTF file
Posted: Wed Jul 19, 2006 06:55 PM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Create an RTF file
Posted: Wed Jul 19, 2006 07:25 PM

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
Posts: 114
Joined: Tue Feb 14, 2006 08:13 AM
Create an RTF file
Posted: Wed Jul 19, 2006 08:32 PM
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

Continue the discussion