Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print the RTF format of the richtextbox?
Message
 
 
À
21/01/2001 04:40:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00466331
Message ID:
00466522
Vues:
8
Hi!

If you sore the content of RTF text in the memo field, do following:
- prepare separate cursor for report, instead of memo field use general field (empty)
- insert into cursor in the loop each record required for printing. For memo field with RTF content save the content of it into temporary file with extension ".RTF" using strtofile() function. Use APPEND GENERAL command to get file into general field. Delete temporary file.
- in the report use OLE control, select data from field and as field specify general field in the report cursor.

Hope this will work.

>I am using the richtextbox to show the RTF format in my form, but I hope to print the RTF data to printer, how could I do?
>
>Thanks!
>
>Fan Li
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform