In a message regarding HTMLViewer and External Helper Apps dated Thu, 01
Mar 2007 13:35:43 -0600, Scott Crick (Lists) said that ...

> I think I may be missing something in the HTMLViewer implementation. The
> only way I have found to intercept a click on a link is through the
> DocumentBegin event. There, it's trivial to use a ShowURL statement to
> display the link in an external web browser. The problem is, the HTMLViewer
> also displays the linked page, which I don't want.

Try doing the same in the CancelLoad event instead.

Then Return True to stop the document loading in the HTMLViewer

-- 
Steve Garman
Using REALbasic Professional on Windows XP Pro


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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to