Page 1 of 1
How to obtain browser's Chromium
Posted: Mon Nov 25, 2024 4:03 pm
by coater
How to obtain browser belongs to which Chromium if I have some chromiums.
thanks!
Re: How to obtain browser's Chromium
Posted: Tue Nov 26, 2024 9:31 am
by salvadordf
Please, clarify your question.
Use TChromiumCore.BrowserId to uniquely identify each browser.
Re: How to obtain browser's Chromium
Posted: Tue Nov 26, 2024 9:43 am
by coater
If I put two TChromium on the form, How can I know a browser belongs to which TChromium. Thank you!
Re: How to obtain browser's Chromium
Posted: Wed Nov 27, 2024 2:03 pm
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.
Re: How to obtain browser's Chromium
Posted: Thu Nov 28, 2024 3:51 pm
by coater
ok
Thank you very much!