Webbrowser: drag&drop
- How-to
- Tom Derutter
- PowerBuilder
- Tuesday, 7 May 2024 11:33 AM UTC
Hi,
We have embedded the webview2 controller in a PB2022R3 application to show an angular website.
We'd like to implement drag&drop from powerbuilder to webview2.
The idea is to show the dragging in the website and ondrop fires an event in pb so we can handle the drop in pb
However, we're not receiving the dragenter event in the website
We do receive a mouseenter event in the website, but not while dragging...
I found this in the documentation:
https://docs.appeon.com/pb2022/pbug/ch04s05s01.html --> (Webbrowser) Does not support drag & drop in the web page
However, the webview2 control has properties AllowDrop & AllowExternalDrop
Does pb set these to false? I don't see a way to toggle these?
Is this something that might be foreseen in the future?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.