Welcome Guest Search | Active Topics | Sign In | Register

Right Click to open link in a new page Options
Christian Porzio
Posted: Tuesday, November 29, 2016 9:38:11 AM
Rank: Advanced Member
Groups: Member

Joined: 10/4/2016
Posts: 104
Hi,

Any one would have an idea how to recreate the same feature common in many browsers that allow to right click and open in a new page when hovering a hyperlink? I know how to control this option in the contextual menu in real time my problem is I do not know if I'm hovering a hyperlink and its URI value.

Any suggestion will be much appreciated.

Thank you!
eo_support
Posted: Friday, December 2, 2016 6:20:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

You would handle WebView.BeforeContextMenu and then examine e.MenuInfo property. Inside that property you will find information such as the Url/Target.

Thanks!
Christian Porzio
Posted: Monday, December 5, 2016 8:13:56 AM
Rank: Advanced Member
Groups: Member

Joined: 10/4/2016
Posts: 104
Thank you, it works exactly as you said! Thanks again!
eo_support
Posted: Monday, December 5, 2016 8:36:44 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
You are welcome. Please feel free to let us know if there is anything else.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.