Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
WVWindowParent in a TPageControl
-
- Posts: 52
- Joined: Sat Dec 09, 2017 4:40 pm
WVWindowParent in a TPageControl
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?
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: WVWindowParent in a TPageControl
Hi,
Unselected pages have the "Visible" property set to false.
Try the solution given here :
https://www.briskbard.com/forum/viewtopic.php?t=1981
Unselected pages have the "Visible" property set to false.
Try the solution given here :
https://www.briskbard.com/forum/viewtopic.php?t=1981
-
- Posts: 52
- Joined: Sat Dec 09, 2017 4:40 pm
Re: WVWindowParent in a TPageControl
Thanks, I just set "visible" to true and it worked.