Page 1 of 1

WVWindowParent in a TPageControl

Posted: Thu Jun 27, 2024 7:51 pm
by alpires2000
Hi Salvador, I have a TPageControl with 3 tabs. Inside one of these tabs I have a WVWindowParent. If I execute the command WVBrowser1.CreateBrowser(WVWindowParent1.Handle); it only works if the tab containing WVWindowParent1 is selected. If another tab is selected, the browser is not created. Why does this happen?

Re: WVWindowParent in a TPageControl

Posted: Fri Jun 28, 2024 2:16 pm
by salvadordf
Hi,

Unselected pages have the "Visible" property set to false.

Try the solution given here :
https://www.briskbard.com/forum/viewtopic.php?t=1981

Re: WVWindowParent in a TPageControl

Posted: Fri Jun 28, 2024 5:54 pm
by alpires2000
Thanks, I just set "visible" to true and it worked.