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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

How to cancel drag?

Post Reply
User avatar
salvadordf
Posts: 4565
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to cancel drag?

Post by salvadordf »

Hi,

I haven't tried to disable "drag and drop" in normal mode. According to the information in this link, it's possible but you would need some serious hacking :
https://stackoverflow.com/questions/547 ... p-winforms

However, if your browser uses the "off-screen" mode (OSR) then you have full control as you can see in the SimpleOSRBrowser demo. All events and dragged information are available.

Remember that the current CEF4Delphi version has a known issue resizing the browser window in OSR mode :
https://github.com/salvadordf/CEF4Delphi/issues/214
User avatar
salvadordf
Posts: 4565
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to cancel drag?

Post by salvadordf »

Thanks for reporting this issue!

Please, provide a complete minimal code example to reproduce it.
Post Reply