Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need some help with the _web control on a form
Message
 
 
À
09/07/2006 10:50:50
Mark Phillips
Erw Custom Programming Inc.
Waterford, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01134761
Message ID:
01134798
Vues:
27
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform