Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebBrowser control question
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00945424
Message ID:
00945463
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform