FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour WebView background first turns black
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
WebView background first turns black
Posted: Tue Jun 11, 2024 06: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

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: WebView background first turns black
Posted: Wed Jun 12, 2024 08:31 AM

Continue the discussion