Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebBrowser control question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00945424
Message ID:
00945463
Vues:
15
>How might I intercept the "PRINT" option in the right-click menu of the WebBrowser control. I'd like to either call one of my functions first or I'd just like to get rid of that option altogether (since I have a Print button on the form to print the HTML displayed in the control). Looking at the PEM list, nothing jumps out at me. No Right-Click method, no MouseDown or MouseUp, no DisableThePrintOptionInTheRightClickMenu method (can you believe it!).
>
>Thanks,
>
>Russell Campbell

Add
 onContextMenu="return false;" 
in the body tag of the page.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform