Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print the RTF format of the richtextbox?
Message
From
22/01/2001 07:24:53
 
 
To
21/01/2001 04:40:18
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00466331
Message ID:
00466522
Views:
7
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform