|
Rank: Newbie Groups: Member
Joined: 10/4/2021 Posts: 2
|
Can anyone help this hopeless newbie with VB code to replicate the functionality found in the Tabbed Browser sample project (and in the off-the-shelf Chrome browser) where when the user moves the mouse over a hyperlink, the link URL gets captured and displayed at the bottom of the form? I don't know the first thing about XAML so the Tabbed Browser code is no help. I'm using a trial license.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
This would not have anything to do with WPF or XAML. The key to this is to handle the WebView's StatusMessageChanged event. You would then get the new "status message" through WebView.StatusMessage in your event handler.
Hope this helps.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/4/2021 Posts: 2
|
eo_support wrote:Hi,
This would not have anything to do with WPF or XAML. The key to this is to handle the WebView's StatusMessageChanged event. You would then get the new "status message" through WebView.StatusMessage in your event handler.
Hope this helps.
Thanks! eo_support thank you for the quick response, it works! Here is VB code: AddHandler web1.StatusMessageChanged, AddressOf DisplayHoverLink
Private Sub DisplayHoverLink(sender As Object, e As EventArgs) txtMouseoverLink.Text = web1.StatusMessage End Sub
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Great!
|
|