Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing with RichText control
Message
From
27/08/2001 16:36:41
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00549439
Message ID:
00549617
Views:
21
I have MS Word installed and the RTF control works well when editing the text on a form. MS KB article Q246088 uses the richtext control and a general field to print in the report writer. But I must be missing something, because it doesn't work for me.

Sean

>Hi!
>
>It is software problem. When you install MS Word from MS Office, it will print RTF text properly. There are no OLE control on your machine that can represent the RTF file content in a general field in VFP.
>
>>I've got some richtext generated by the RichText control and am trying to print that richtext in a Report Writer report. I used the steps outlined in KB Q246088 as a starting point, but every time I print I get a Notepad icon instead of the RichText. Furthermore, I am not confident that the Picture/Active-X Bound Control in the report will stretch to accomodate the content. It's currently clipping the Notepad icon and I don't see a "Stretch with Overflow" type option such as the one available for TextBox fields (the other options are Scale picture and don't indicate that the frame changes size).
>>
>>Printing using the richtext controls SelPrint method works fine, but I really need printing within a report as well.
>>
>>I dump the data to a file (the DATA clause was giving me an error) and then stick it into the general field sol_strategy which is used by the report:
>>APPEND GENERAL sol_strategy FROM rtftest.txt CLASS "RICHTEXT.RICHTEXTCTRL.1"
>>
>>Configuration problem? Programming problem that can be corrected? Known problem with RichText control? Third-party control available?
>>
>>Thanks,
>>Sean Hurley
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform