[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent a WebView from opening hotlinks?


I found it myself ...

Public Sub WebView1_MouseUp()

  Try Desktop.open(WebView1.Link)
  Stop Event

End

Best regards

Claus


Am 02.01.25 um 08:01 schrieb Claus Dietrich:

A Happy New Year to all of you!

I am using a WebView for reading emails in an email client.

When I click on a hotlink inside the email the client opens the hotlink in the default browser.

My problem: The WebView also opens the link so that the email disappears.

Is there a way to prevent the WebView from opening hotlinks itself?

Best regards

Claus

References:
How to prevent a WebView from opening hotlinks?Claus Dietrich <claus.dietrich@xxxxxxxxxx>