[Gambas-user] WebDownload

Gianluigi bagonergi at gmail.com
Thu May 10 11:28:08 CEST 2018


2018-05-10 11:02 GMT+02:00 Ingo <bm.530502 at gmail.com>:

> Am 10.05.2018 um 09:57 schrieb Gianluigi:
>
>
>
> 2018-05-10 9:38 GMT+02:00 Ingo <bm.530502 at gmail.com>:
>
>> Am 09.05.2018 um 23:13 schrieb Gianluigi:
>>
>>
>>
>> 2018-05-09 23:06 GMT+02:00 Ingo <bm.530502 at gmail.com>:
>>
>>> Does anyone have a simple example for the class WebDownload working with
>>> a WbView?
>>> Thanks in advance.
>>> Ingo
>>>
>>>
>> seHelpBuilder in the Software farm is based on WebView
>> Regards
>> Gianluigi
>>
>>
>>> --------------------------------------------------
>>>
>>> This is the Gambas Mailing List:
>>> https://lists.gambas-basic.org/listinfo/user
>>>
>>> Search the list:
>>> https://lists.gambas-basic.org/cgi-bin/search.cgi
>>>
>>> Hosted by https://www.hostsharing.net
>>>
>>
>>
>>
>> --------------------------------------------------
>>
>> This is the Gambas Mailing List:https://lists.gambas-basic.org/listinfo/user
>>
>> Search the list:https://lists.gambas-basic.org/cgi-bin/search.cgi
>>
>> Hosted by https://www.hostsharing.net
>>
>> Hi Gianluigi,
>> thanks for that example. But I can't find the WebDownload -->
>> http://gambaswiki.org/wiki/comp/gb.qt4.webkit/webdownload.
>>
>> Or did I miss something?
>>
>> Regards
>> Ingo
>>
>>
> Ah ok, I attach the webbrowser project modified by Gianfry56 of the
> Italian forum.
> Regards
> Gianluigi
>
>
>> --------------------------------------------------
>>
>> This is the Gambas Mailing List:
>> https://lists.gambas-basic.org/listinfo/user
>>
>> Search the list:
>> https://lists.gambas-basic.org/cgi-bin/search.cgi
>>
>> Hosted by https://www.hostsharing.net
>>
>>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:https://lists.gambas-basic.org/listinfo/user
>
> Search the list:https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
> Thanks again.
> As I see the WebView_Download Event is triggered by the context menu i.e.
> "Save Image" is pressed.
> Maybe I don't understand the difference between this Event and the
> WebDownload class?!
>
> The goal is to download an image without the user having to intervene.
>
> Is it possible to force the download by code without user's interaction?
>
>
> Best regards
> Ingo
>
>
>
I do not understand the question, can you explain me better?
If you do not have a Download folder you can add this line of code to the
Form_Open () procedure of WebBrowser:
---------
If Not Exist(User.Home &/ "Download") Then Try Mkdir User.Home &/ "Download"
---------
Regards
Gianluigi


>
>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180510/f40f3a48/attachment-0001.html>


More information about the User mailing list