mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-02-02 10:25:26 +02:00
fixed: SimpleFMXBrowser: compilation failure with Delphi 10 Seattle
TCommonCustomForm.SetBounds(TRect) overloaded method is since Delphi 10.1 Berlin.
This commit is contained in:
parent
299c9ec0b1
commit
def9ab8a83
@ -207,18 +207,9 @@ begin
|
||||
end;
|
||||
|
||||
procedure TSimpleFMXBrowserFrm.ResizeChild;
|
||||
var
|
||||
TempRect : System.Types.TRect;
|
||||
begin
|
||||
if (FMXWindowParent <> nil) then
|
||||
begin
|
||||
TempRect.Top := round(AddressPnl.Height);
|
||||
TempRect.Left := 0;
|
||||
TempRect.Right := ClientWidth - 1;
|
||||
TempRect.Bottom := ClientHeight - 1;
|
||||
|
||||
FMXWindowParent.SetBounds(TempRect);
|
||||
end;
|
||||
FMXWindowParent.SetBounds(0, round(AddressPnl.Height), ClientWidth - 1, ClientHeight - 1);
|
||||
end;
|
||||
|
||||
procedure TSimpleFMXBrowserFrm.CreateFMXWindowParent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user