Page 1 of 1

How to know when browsers are ready ?

Posted: Tue Oct 19, 2021 11:51 am
by thefunkyjoint
Silly question but i forgot about that...

When we create a browser, i know CEF4Delphi needs some time to get the browsder ready to go. What is the property i need to check to make sure the browser is ready do be used ? :?

Re: How to know when browsers are ready ?

Posted: Tue Oct 19, 2021 12:19 pm
by salvadordf
Hi,

TChromiumCore.Initialized is TRUE when the browser is ready to be used. This property is set to true when the TChromiumCore.OnAfterCreated event is triggered.

BTW, thank you very much for your continued support on Patreon! :D

Re: How to know when browsers are ready ?

Posted: Tue Oct 19, 2021 12:21 pm
by thefunkyjoint
salvadordf wrote: Tue Oct 19, 2021 12:19 pm Hi,

TChromiumCore.Initialized is TRUE when the browser is ready to be used. This property is set to true when the TChromiumCore.OnAfterCreated event is triggered.

BTW, thank you very much for your continued support on Patreon! :D
My pleasure Salvador, this project rocks :D