Welcome Guest Search | Active Topics | Sign In | Register

How to add "Copy Link Address" menu item? Options
TriSys Business Software
Posted: Thursday, December 7, 2017 5:43:11 AM
Rank: Newbie
Groups: Member

Joined: 11/7/2014
Posts: 3
We use EO WebBrowser for our .NET Winforms application.

How do we display a "Copy Link Address" when right-clicking a hyperlink? (To mimic how Chrome handles hyperlinks when right-clicked on)

We are already familiar with adding custom menu items, just need to know how to copy the hyperlink?
eo_support
Posted: Thursday, December 7, 2017 11:06:16 AM
Rank: Administration
Groups: Administration

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

You would use this property to get the link Url in your event handler:

https://www.essentialobjects.com/doc/eo.webbrowser.contextmenuinfo.linkurl.aspx

After that you would use standard .NET clipboard API to copy the link to the clipboard. This part is not related to our product, so you can search online and you should be able to find plenty of information about this.

Thanks!


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.