Calling Popup Browsers from htmlviewer

How do you call popup browsers from the htmlviewer

You use the HTMLViewer.CancelLoad event to look at the clicked link and decide on what to do.

For instance this will open all links in the default browser :

Function CancelLoad(URL as String) As Boolean showURL URL return false End Function

Instead of showURL you can very well open a window in your program with another HTMLViewer and loadURL the clicked URL…

Also look into the NewWindow event. From there, you can create a new window with a new instance of the htmlviewer on it, and then return a reference to the htmlviewer in the event.

Thanks guys for your replies, helped me lots