[Gambas-user] Dragging to Webview?; HttpClient.Delete()?; & Embedder missing

T Lee Davidson t.lee.davidson at gmail.com
Thu Jul 29 15:42:45 CEST 2021


On 7/29/21 3:05 AM, Bruce Steers wrote:
> I just tried the following code...
> 
> *Public Sub WebView1_Drop()
>      Print Drag.Data
> End*
> 
> 
> Drag-drop files from my computer to the application window woks completely as expected.
> result was...
> *file:///home/bonus/Desktop/IconActionEd.desktop*
> 
> Not sure why it doesn't work for you?
> 
> BruceS
> 
> 
> On Wed, 28 Jul 2021 at 23:52, Cam Era <cybercamera at gmail.com <mailto:cybercamera at gmail.com>> wrote:
> 
>     Lee,
> 
>     did you find a solution to this problem below? Or any other way to get file-uploads working in Webview? If so, care to share?
> 
>     Cheers
> 
>     On Fri, Jan 31, 2020 at 5:19 AM T Lee Davidson <t.lee.davidson at gmail.com <mailto:t.lee.davidson at gmail.com>> wrote:
> 
>         1. I am unable to drag files to an active Webview. For instance, when viewing a page with a form that has a <input
>         type="file">
>         element, I should be able to drag and drop a file from the system file manager onto the file input element. I cannot.
> 
>         The mouse drag cursor remains red, never turns green, to indicate that the file cannot be dropped on the Webview
>         control. I have
>         Webview.Drop=True if that makes any difference.
> 
>         Is there something I need to do to get Webview to accept drops from the system? Or is this just the nature of the beast?

I confirm that drag and drop does indeed work with Gambas v3.16.2.

Perhaps that issue has been fixed in a year and a half since, or, I didn't do something right at the time.


-- 
Lee


More information about the User mailing list