You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-22 22:17:48 +02:00
@ -190,14 +190,10 @@ begin
|
||||
end;
|
||||
|
||||
function TChromium.GetParentFormHandle : TCefWindowHandle;
|
||||
{$IFDEF MSWINDOWS}
|
||||
var
|
||||
TempForm : TCustomForm;
|
||||
{$ENDIF}
|
||||
begin
|
||||
Result := inherited GetParentFormHandle;
|
||||
|
||||
{$IFDEF MSWINDOWS}
|
||||
Result := inherited GetParentFormHandle;
|
||||
TempForm := GetParentForm;
|
||||
|
||||
if (TempForm <> nil) and TempForm.HandleAllocated then
|
||||
@ -207,7 +203,6 @@ begin
|
||||
(Application.MainForm <> nil) and
|
||||
Application.MainForm.HandleAllocated then
|
||||
Result := Application.MainForm.Handle;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TChromium.MoveFormTo(const x, y: Integer);
|
||||
|
Reference in New Issue
Block a user