Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable rightclick of Web Browser Control
Message
From
20/12/2001 15:07:45
 
 
To
20/12/2001 12:18:32
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00595476
Message ID:
00596965
Views:
43
This message has been marked as the solution to the initial question of the thread.
>>>>Look at appendChild, insertAdjacentElement, insertAdjacentHTML, innerHTML methods on MSDN for ways to insert the script into the loaded HTML page. If all else fails you can always write the original file as a local file, modify it there and reload it with the changes.
>
>Ok. No problem with insert strings into my loaded HTML... the big problem is that I didn´t find a JavaScript that does the job correctly... every script I found just shows an alert window, and if I rip off the allert, the code doesn´t work...

If changing the HTML is no problem then change the body tag to include the following: (remove the extra space)
< BODY oncontextmenu="return false" >
I don't know if this works in Netscrape, it works in IE.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform