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.

Possible to use FMX TPanel as container?

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Possible to use FMX TPanel as container?

Post by salvadordf »

Hi,

You can put a browser inside an FMX TPanel if you use the OSR mode like the FMXExternalPumpBrowser demo. In this case you would need to put a TFMXBufferPanel inside the FMX TPanel.

You can't do that in normal mode because you need a Windows handle to create a browser in that mode and, as far as I know, FMX only creates handles in TCommonCustomForm.

However, I'm not an expert in FMX and I could be wrong. If you know of other FMX component with a Windows handle then you could use it as the browser parent.
Post Reply