Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Richtx32.OCX selprint property
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00719122
Message ID:
00719138
Views:
14
See Re: Printing with RichText control Message #549484 and Re: Printing RTF in Windows 2000 Message #576054. You can also take a look at FIX: Using the SelPrint Method of the Rich Text Control mskb #Q170126.

>Hi,
>
>I've placed a Richtx32.ocx activeX control on a Visual FoxPro 7 wizstyle form. I'm using the Richtx32.ocx editbox to display help from within my app. The richtx32.ocx uses pshelp.dictdata as its records source. Pshelp is the name of the VFP 7 table, and dictdata is a memo field within the VFP7 table that holds the help text. It seems to be working well; however, I would like to print the text in the editbox. It is my understanding the this can be done using the selprint() method. The selprint() method has the following properties:
>
>
>*** ActiveX Control Method ***
>LPARAMETERS lhdc, vstartdoc
>
>
>The text is in a .rft format, so I need the activeX control to print it. Does anyone know what I should pass to the lhdc and vstartdoc parameters in order to print the rich text displayed in the editbox. I did a quick search of the web but didn't come up with anything addressing this.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform