I'm wondering how can I hide WebBrowser
until the website loading process is complete?
Also, Im using Panel1 and WebBrowser
ON TOP of it. Why? Well, this way, I can set the Panel1 size and position exacly like I want it for WebBrowser, then place the WebBrowser on top of Panel1 and set the size (width, height for WebBrowser) to +4 px overall. After that I resize the WebBrowser (Left, Top) by -2px so I CAN REMOVE WEBBROWSER BORDERS :) After resizing the WebBrowser by -2px by its height and width, WebBrowser is exacly the same size as the Panel1 with no borders...
Now, back to the subject - I've tried to set the TFMain.WebBrowser1NavigateComplete2
event but using FMain.Panel1.Visible:=True;
(in Panel1 settings i set Visible option to False so Panel1 and WebBrowser are both invisible), but it doesn't work. Panel1 and WebBrowser stay invisible for all the time.
How can I make the Panel1 visible after WebBrowser finish the website download?
One more thing: BECAUSE the WebBrowser is on TOP of the Panel1, when I set Panel1 Visible to False, WebBrowser goes invisible as well :)
So, can anyone help me with that? Thank You...