Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable rightclick of Web Browser Control
Message
De
18/12/2001 10:49:06
 
 
À
18/12/2001 10:23:39
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00595476
Message ID:
00595615
Vues:
33
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform