In the HTMLViewer.CancelLoad event, examine the parameter URL to see
whether the user has clicked a URL you want to redirect.

Do your magic including calling me.LoadPage

Then
Return True
so that the page that was clicked on is not loaded.

I have an example, written to demonstrate downloading clicked files at
<http://rb.sgarman.net/browser/htmlDEMO.rbp>
which you might like to look at and modify the CancelLoad event.

--
Steve Garman
Using REALbasic 2006r2 Professional on Windows XP Pro



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to