I am trying to make the HTMLViewer go to a link that I clicked on in the HTMLViewer. The NewWindow event fires nicely on Windows and Mac.
I use this code to
Sub NewWindow() Return Me End Sub
On Mac the content of the clicked link appears within the old HTMLViewer (or maybe on new instance of it, but it looks like it’s the old viewer). On Windows nothing happens, but the event fires.
I also tried this, which also doesn’t work.
Sub NewWindow() //Embed the new instance in a ContainerControl in a new Window ImageViewerNewsWindow.EmptyContainer1.EmbedWithin(Me) End Sub
How can I use the return value of the event? Is there an easy way to catch the clicked URL?