Re: How to cancel drag?
Posted: Fri Aug 30, 2019 3:19 pm
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
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