WebView background first turns black

WebView background first turns black

Postby Otto » Tue Jun 11, 2024 6:11 pm

Hello friends,
WebView: The background of the HTML window when displaying PDFs first turns black, then light gray; for image files, it is black; for txt or xml files, the entire window width is used.

WORKAROUND

I have now found a workaround.
I use a SAY and take the window handle from the SAY for the WebView2.
I initialize the SAY outside the visible area.
A timer is created that changes the position of the SAY object after a specified time period.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6133
Joined: Fri Oct 07, 2005 7:07 pm

Re: WebView background first turns black

Postby Otto » Wed Jun 12, 2024 8:31 am

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6133
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 130 guests