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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

WVWindowParent in a TPageControl

Post Reply
alpires2000
Posts: 52
Joined: Sat Dec 09, 2017 4:40 pm

WVWindowParent in a TPageControl

Post 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?
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: WVWindowParent in a TPageControl

Post 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
alpires2000
Posts: 52
Joined: Sat Dec 09, 2017 4:40 pm

Re: WVWindowParent in a TPageControl

Post by alpires2000 »

Thanks, I just set "visible" to true and it worked.
Post Reply