More flexibility for ChromiumWindow

Post Reply
Posts: 6
Joined: Mon Aug 12, 2019 2:20 pm

More flexibility for ChromiumWindow

Post by Crownie » Fri Aug 16, 2019 12:21 pm


It is possible that I dont have the right idea here but the way I saw it is that the TChromiumWindow component should come down as the same thing as when youre using a CEFWindowParent + TChromium components on one form right?

When a TChromiumWindow is created there is a TChromium created aswell.
But if you want to get any events of that TChromium you will have to Assign them yourself as in

Code: Select all

ChromiumWindow1.ChromiumBrowser.OnSetFocus := Chromium1SetFocus;
Wouldnt it be much easier to publish all the TChromium events as part of the TChromiumWindow?
Which will call the same event for TChromium.

User avatar
Posts: 2495
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain

Re: More flexibility for ChromiumWindow

Post by salvadordf » Sat Aug 17, 2019 8:41 am


TChormiumWindow was created to add simple browsers to applications. If you need to use several TChromium events please consider replacing it with TCEFWindowParent + TChromium

Post Reply