ac9ts Active Member Licensed User Longtime User Dec 30, 2014 #1 Is there a way to change the background color of a WebView? I use a WebView to take advantage of HTML text formatting to display help, multi-line text, etc. My panel is black and the WebView background is white. During the brief time while the WebView HTML code is being processed, the Webview "flashes" white until the code is processed and the background is set to black. I've tried setting the view visibility to false and set it to true in WebView1_PageFinished but it appears that event fires when the page is loaded. Not when it has finished processing.
Is there a way to change the background color of a WebView? I use a WebView to take advantage of HTML text formatting to display help, multi-line text, etc. My panel is black and the WebView background is white. During the brief time while the WebView HTML code is being processed, the Webview "flashes" white until the code is processed and the background is set to black. I've tried setting the view visibility to false and set it to true in WebView1_PageFinished but it appears that event fires when the page is loaded. Not when it has finished processing.
NJDude Expert Licensed User Longtime User Dec 30, 2014 #2 Have you tried Code: Copy Private web As Webview ... web.color = Colors.ARGB(0, 0, 0, 0) Upvote 0
ac9ts Active Member Licensed User Longtime User Dec 30, 2014 #3 I found the answer once I posted the question and the listing of similar threads came up (my initial search criteria must not have been good enough). Code: Copy WebView1.Color = Colors.Black Upvote 0
I found the answer once I posted the question and the listing of similar threads came up (my initial search criteria must not have been good enough). Code: Copy WebView1.Color = Colors.Black