Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need some help with the _web control on a form
Message
 
 
To
09/07/2006 10:50:50
Mark Phillips
Erw Custom Programming Inc.
Waterford, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01134761
Message ID:
01134798
Views:
26
This message has been marked as the solution to the initial question of the thread.
>
>When using the _web control on a form is it possible to add a print button that will print or save the current contents of the _web control?
#DEFINE OLECMDID_SAVE 3
#DEFINE OLECMDID_SAVEAS 4
#DEFINE OLECMDID_PRINT 6
#DEFINE OLECMDEXECOPT_DODEFAULT 0
#DEFINE OLECMDEXECOPT_PROMPTUSER 1
#DEFINE OLECMDEXECOPT_DONTPROMPTUSER 2
* Print
ThisForm.oWeb.ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, 0, 0)
* SaveAs
Thisform.oWeb.ExecWB(OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT,0,0)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform