Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebBrowser Problem....
Message
De
06/10/2003 15:33:41
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
06/10/2003 03:12:05
Mazahir Naya
Kuwait United Co.
Kuwait, Kuwait
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00835266
Message ID:
00835512
Vues:
16
Hi Mazahir,

I put some javascript in the header portion of my html file to disable rightclick and selection as follows:
<html>
<head>
<script language="JavaScript">
document.onselectstart=new Function ("return false");document.oncontextmenu=new Function("return false")
</script>
</head>
This works in IE. Don't know about other browsers though.

As for opening a link in the form I think that you might want to investigate
target="top".
Something like
<a href="somelinkhere" target="top">mylink</a>
Hope this helps

Mike.

>hi to All
>i am using Webbrowser control in Vfp 6 with service pack 5.
>everything is fine.but how to disable Right mouse click on control.
>& also if i click on any link it should be open in my form.mean i don't want that link will open any new windows.
>
>any sugession will be apprisiated...
>
>regards
>Mazahir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform