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.

How to obtain browser's Chromium

Post Reply
coater
Posts: 187
Joined: Sat Sep 29, 2018 1:51 pm

How to obtain browser's Chromium

Post by coater »

How to obtain browser belongs to which Chromium if I have some chromiums.
thanks!
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to obtain browser's Chromium

Post by salvadordf »

Please, clarify your question.

Use TChromiumCore.BrowserId to uniquely identify each browser.
coater
Posts: 187
Joined: Sat Sep 29, 2018 1:51 pm

Re: How to obtain browser's Chromium

Post by coater »

If I put two TChromium on the form, How can I know a browser belongs to which TChromium. Thank you!
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: How to obtain browser's Chromium

Post by salvadordf »

Let's say those components are called Chromium1 and Chromium2.

In that case you can read the Chromium1.BrowserId and Chromium2.BrowserId properties.

Ideally, each browser should use different procedures to handle the events. In that case, you don't need to compare the browserid properties.
coater
Posts: 187
Joined: Sat Sep 29, 2018 1:51 pm

Re: How to obtain browser's Chromium

Post by coater »

ok
Thank you very much!
Post Reply