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.

Change OnContextCreated

Post Reply
Almo
Posts: 2
Joined: Fri Oct 15, 2021 1:48 pm

Change OnContextCreated

Post by Almo »

Hello.

First of all, thank you for this brilliant work.

On my system, I have a main screen displaying a web page. This works normally.

However, I have other screens that need to display other pages, with some javascript implementations.

Is it possible to set different OnContextCreated on each screen?

If I load the main page before the others that use OnContextCreated, the routine doesn't work.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Change OnContextCreated

Post by salvadordf »

Hi,

Perhaps this is what's happening to you :
https://magpcss.org/ceforum/viewtopic.php?f=6&t=18574&p=49793

I've seen some people commenting that there might be a memory leak with V8 contexts in CEF4Delphi. If you think this is what's happening in your application please provide a simple demo to reproduce this issue in my computer.
Almo
Posts: 2
Joined: Fri Oct 15, 2021 1:48 pm

Re: Change OnContextCreated

Post by Almo »

Thanks for the quick response.

I will try to do a demo.
Post Reply