You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-07-02 22:26:53 +02:00
Fix for duplicated resources in FMX apps made by SchneiderInfosystems
- The FMX demos now load the initial web page using the TFMXChromium.DefaultUrl property. - Added the $(FrameworkType) conditional define to all the FMX demos. - Added the $(FrameworkType) conditional define to the CEF4Delphi_FMX project.
This commit is contained in:
@ -189,22 +189,6 @@ begin
|
||||
(Application.MainForm is TMainForm) then
|
||||
TMainForm(Application.MainForm).DoChildDestroyed;
|
||||
|
||||
CEF_AFTERCREATED :
|
||||
if not(Application.Terminated) then
|
||||
begin
|
||||
i := 0;
|
||||
|
||||
while (i < screen.FormCount) do
|
||||
if (screen.Forms[i] is TChildForm) and
|
||||
(TChildForm(screen.Forms[i]).BrowserID = TempMsg.lParam) then
|
||||
begin
|
||||
TChildForm(screen.Forms[i]).DoBrowserCreated;
|
||||
i := screen.FormCount;
|
||||
end
|
||||
else
|
||||
inc(i);
|
||||
end;
|
||||
|
||||
CEF_DESTROY :
|
||||
if not(Application.Terminated) then
|
||||
begin
|
||||
|
Reference in New Issue
Block a user