how to close downloaded files window in webview2
how to close downloaded files window in webview2
Hi,
I found this.
https://stackoverflow.com/questions/734 ... tent-or-pr
How to do it using fwh webview class?
Thanks.
I found this.
https://stackoverflow.com/questions/734 ... tent-or-pr
How to do it using fwh webview class?
Thanks.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
Dear Hakan,
We are reviewing it
We are reviewing it
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
Dear Hakan,
Could you please provide me a screenshot of the exact window that you want not to be shown ?
many thanks
Could you please provide me a screenshot of the exact window that you want not to be shown ?
many thanks
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
We have already implemented it with the great help of our friend and Master Bruno Cantero!
Do you need it for Borland 32 bits ?
Do you need it for Borland 32 bits ?
Re: how to close downloaded files window in webview2
Hi Antonio,
I use fwh 24.02 and harbour 32 bit. I could not use 24.09.
Thank you very much.
I use fwh 24.02 and harbour 32 bit. I could not use 24.09.
Thank you very much.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
updated libs sent by email
oWebView:ShowDownloads( .F. )
oWebView:ShowDownloads( .F. )
Re: how to close downloaded files window in webview2
Hi Antonio,Antonio Linares wrote:updated libs sent by email
oWebView:ShowDownloads( .F. )
I could not use this libs. When I copy this libs to my fwh 24.02 libs directory, same semptons in fwh 24.09 comes again.
https://forums.fivetechsupport.com/view ... 450dd74ee3
Can you please send only showdownloads method and its related HB_FUNC Functions.
Thanks again.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
Dear Hakan,
You can extract these modules from the libs:
cwebview.obj, webview2.obj from Fivehc32.lib
twebview2.obj from fiveh32.lib
Anyhow if just that difference in Class TGroup is what is stopping you from using FWH 24.09 we can modify Class TGroup as per your posted code
You can extract these modules from the libs:
cwebview.obj, webview2.obj from Fivehc32.lib
twebview2.obj from fiveh32.lib
Anyhow if just that difference in Class TGroup is what is stopping you from using FWH 24.09 we can modify Class TGroup as per your posted code
Re: how to close downloaded files window in webview2
Hi Antonio,
First of all, thank you very much for your kindness.
I guess the source of my problems stems from the CalcSize method used in many classes. I guess it's not just in the TGroup class.
I do not think I have the right to request the changes I have identified. Because, like most users, I think that the resize feature of windows should come as soon as possible. I think CalcSize is also a part of this project.
Perhaps a temporary variable such as FW_SetResize( .f. ) can be defined that determines whether this method will work or not.
First of all, thank you very much for your kindness.
I guess the source of my problems stems from the CalcSize method used in many classes. I guess it's not just in the TGroup class.
I do not think I have the right to request the changes I have identified. Because, like most users, I think that the resize feature of windows should come as soon as possible. I think CalcSize is also a part of this project.
Perhaps a temporary variable such as FW_SetResize( .f. ) can be defined that determines whether this method will work or not.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Re: how to close downloaded files window in webview2
Hi Antonio,
Is there any other option that can solve this request other than the new version?
Is there any other option that can solve this request other than the new version?
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
Dear Hakan,
Unfortunately not. You need the new version, it is not a minor change.
Sorry
Unfortunately not. You need the new version, it is not a minor change.
Sorry
Re: how to close downloaded files window in webview2
Thank you Antonio,
I will try to adapt latest version to my app.
I apologize in advance if this process will disturb you further.
I will try to adapt latest version to my app.
I apologize in advance if this process will disturb you further.
Regards,
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
Hakan ONEMLI
Harbour & MSVC 2022 & FWH 23.04
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: how to close downloaded files window in webview2
Dear Hakan,
You are very welcome
You are very welcome
-
- Posts: 262
- Joined: Sun Jan 31, 2010 3:30 pm
- Location: Bucaramanga - Colombia
Re: how to close downloaded files window in webview2
Buen dia...
Asi pude usar fwh 24-09
Este código afecta a Tgroup
bloquear asi
/*
if !lPixel
if nTop >= 1.0; nTop *= GRP_CHARPIX_H; endif
if nLeft >= 1.0; nLeft *= GRP_CHARPIX_W; endif
if nBottom >= 1.0; nBottom *= GRP_CHARPIX_H; endif
if nRight >= 1.0; nRight *= GRP_CHARPIX_W; endif
endif
::CalcSize( @nTop, @nLeft, @nWidth, @nHeight, lRelPix, oWnd, @nBottom, @nRight )
*/
::nTop = nTop * If( lPixel, 1, GRP_CHARPIX_H ) // 14
::nLeft = nLeft * If( lPixel, 1, GRP_CHARPIX_W ) // 7
if nWidth != nil
::nRight = ::nLeft + nWidth
else
::nRight = nRight * If( lPixel, 1, GRP_CHARPIX_W ) // 7
endif
y este a Tpanel
dejar asi
METHOD New( nTop, nLeft, nBottom, nRight, oWnd, lDesign, cVarName, lBorder ) CLASS TPanel
DEFAULT nTop := 0, nLeft := 0, nBottom := 100, nRight := 100,;
oWnd := GetWndDefault(), lDesign := .F., lBorder := .F.
::lUnicode = FW_SetUnicode()
::nTop = nTop
::nLeft = nLeft
::nBottom = nBottom
::nRight = nRight
russimicro
Posts: 248
Joined: Sun Jan 31, 2010 3:30 pm
Location: Bucaramanga - Colombia
Asi pude usar fwh 24-09
Este código afecta a Tgroup
bloquear asi
/*
if !lPixel
if nTop >= 1.0; nTop *= GRP_CHARPIX_H; endif
if nLeft >= 1.0; nLeft *= GRP_CHARPIX_W; endif
if nBottom >= 1.0; nBottom *= GRP_CHARPIX_H; endif
if nRight >= 1.0; nRight *= GRP_CHARPIX_W; endif
endif
::CalcSize( @nTop, @nLeft, @nWidth, @nHeight, lRelPix, oWnd, @nBottom, @nRight )
*/
::nTop = nTop * If( lPixel, 1, GRP_CHARPIX_H ) // 14
::nLeft = nLeft * If( lPixel, 1, GRP_CHARPIX_W ) // 7
if nWidth != nil
::nRight = ::nLeft + nWidth
else
::nRight = nRight * If( lPixel, 1, GRP_CHARPIX_W ) // 7
endif
y este a Tpanel
dejar asi
METHOD New( nTop, nLeft, nBottom, nRight, oWnd, lDesign, cVarName, lBorder ) CLASS TPanel
DEFAULT nTop := 0, nLeft := 0, nBottom := 100, nRight := 100,;
oWnd := GetWndDefault(), lDesign := .F., lBorder := .F.
::lUnicode = FW_SetUnicode()
::nTop = nTop
::nLeft = nLeft
::nBottom = nBottom
::nRight = nRight
russimicro
Posts: 248
Joined: Sun Jan 31, 2010 3:30 pm
Location: Bucaramanga - Colombia