1
0
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:
Alexey Shumkin 2019-03-06 16:35:17 +03:00
parent 299c9ec0b1
commit def9ab8a83
No known key found for this signature in database
GPG Key ID: 48EFA0A7C5DF6943

View File

@ -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;