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