Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable rightclick of Web Browser Control
Message
From
18/12/2001 10:49:06
 
 
To
18/12/2001 10:23:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00595476
Message ID:
00595615
Views:
32
>>Hi Dragan.
>>
>>Thanks for your attention.
>>
>>I´ve found some code such that of bravenet... unfortunately, those scripts shows a popup (alert window...)... I really would like to simply ignore rightclick, without shows anything to the user... as office xp´s outlook does.
>
>You can simply put a Nodefault in the rightclick event of your control. If that can't be done directly, you have a _webbrowser (or something with the similar name) wrapper control in the FFC classes, and you can use that and do the same thing with its Rightclick code.

There is no Rightclick event for the OLE control and if you put the web browser control in a container the Rightclick does not fire. I think your original suggestion should work if the user will only navigate to html pages that the programmer has created or has some control over.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform