again thank you for your patience! At least I have a whtie window now (it kept gray before). So after the initialization I immediately create the child form like that.
Code: Select all
procedure TPWAModuleForm.FormShow(Sender: TObject);
begin
if (GlobalCEFApp <> nil) and GlobalCEFApp.GlobalContextInitialized then
begin
Caption := 'ToolBox Browser';
cursor := crDefault;
CreateToolboxChild('ToolBox Browser', 'http://www.google.de');
end
else
ShowMessage('CEF App is not initialized');
end;
But it does not open the url properly. As I said it only shows a white screen:

Also after I clicked the closing button the CloseQuery function will be executed and FClosing will be set to true but the windows keeps open.