1. Tom Derutter
  2. PowerBuilder
  3. 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?

 

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 7 May 2024 15:09 PM UTC
  2. PowerBuilder
  3. # 1

Hi Tom;

  Yes as outlined in the PB 2022 R3 documentation the current Web Browser control does not support Drag & Drop functionality.

This would be an enhancement request in order to gain access to the properties that you mentioned (I assume from the Microsoft documentation).

Regards .. Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.