Page 1 of 1

How to enable context menu 'copy link address' ?

Posted: Fri Jan 12, 2024 8:11 pm
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 ?

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

Posted: Sun Jan 14, 2024 11:12 am
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.

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

Posted: Mon Jan 15, 2024 6:56 pm
by thefunkyjoint
Thank you :D