In addition to David reply,
There is a parameter in the BeforeNavigate2 event called "Cancel". Be sure to set it to True (.T.) before exitting the event. This will prevent the web browser from actually navigating to a web page referenced in the HREF clause.
For a simple example of do all this, see
http://www.GLRsoftware.com/download/download.asp?file=FoxHTML.zip>What I would like to incorporate on a VFP form is a web browser control which would display a javascript menu display.
>
>Once the user makes his javascript selection within the web browser control then pass that selection back to a vfp form method where appropriate code would fire.
>
>We like the "presentation" of some of the javascript menus instead of the VFP.
>
>Is this doable?
>
>Wayne Frenck
Greg Reichert