rewsa / dcef3

Automatically exported from code.google.com/p/dcef3
0 stars 0 forks source link

TChromium causes issues with main form OnCreate / OnActivate. #63

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an application, set handlers for the main form's OnActivate   and 
OnCreate events that just to a ShowMessage('OnActivate') & 
ShowMessage('OnCreate);

2. Compile, run note that crate appears before activate as it should.

3. Add a TChromium to a form, compile and run

3. Form.OnActivate gets called before Form.OnCreate !!!

What is the expected output? What do you see instead?

Expected output would be form create called before form active, something in 
the TChromium initialization causes the form active to be called first.

What version of the product are you using? On what operating system?
Clone of git repository taken on 2015-01-28. 
Delphi 7, Windows 7 64 bit.

Please provide any additional information below.

commenting out the call to Load(FDefaultUrl); in TCustomChromium.Loaded
and then calling it later seems to solve the problem.

I have attached the test program that I made, I also notice that installing the 
DCEF_D7.dpk doesn't seem to register the visual components on the palate.

Original issue reported on code.google.com by phs.ph...@googlemail.com on 28 Jan 2015 at 4:32

Attachments: