>I have a browser control on a VFP form. The pages I'm displaying
>have links, and I want to call either a VFP function, or even
>better, a method on the form, whenever a link is clicked.
>Can someone explain how?
The web browser control has a method called BeforeNavigate, which is associated to the event of the same name. Therefore, this event occurs just before the browser navigate to the clicked link.
This method receive a parameter "url" and a "cancel".
You can issue Cancel = .T., in order to cancel the navigation... this way, the browser won´t navigate. Then, you can check the "url" parameter, and decide what to do, in a simply "do case", for example.
HTH
Claudio Lassala