Page 1 of 1

New Component with TChromium and TBufferPanel

Posted: Thu Jan 16, 2020 7:50 pm
by cefdummi
Hi there,

I want to develop a component with TChromium and TBufferPanel, each of which has a JS element, e.g. Button and Label.
However, if I create new TChromium components every time and load a new html page every time, it becomes too slow.
Has anyone built something like this?

thanks for ideas :?:

Re: New Component with TChromium and TBufferPanel

Posted: Fri Jan 17, 2020 10:13 am
by salvadordf
Hi,

The OSR mode is known to be slower than the normal mode but check that the browsers are closed correctly.
Follow the destruction sequence described in the code comments found in the OSR demo.

Consider using browsers in normal mode in your application to get the best performance.