Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

How to enable context menu 'copy link address' ?

Post Reply
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

How to enable context menu 'copy link address' ?

Post by thefunkyjoint »

On 'regular' Google Chrome, when you hover the mouse over a hyperlink and click on the right mouse button, you have some options.

I'm interested on the 'Copy link address' ; how can i reproduce the same behaviour insde CEF4Delphi ?
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to enable context menu 'copy link address' ?

Post by salvadordf »

Hi,

If the default context menu doesn't show that option you can get that URL from params.LinkUrl in the TChromiumCore.OnBeforeContextMenu event.
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Re: How to enable context menu 'copy link address' ?

Post by thefunkyjoint »

Thank you :D
Post Reply