In Delphi rad studio 10.3, I use cef4delphi to call chromium.Loadurl() or chromium.Browser.Mainframe.Loadurl(), which will cause the top of the program. How can I solve it
Asked
Active
Viewed 50 times
1 Answers
0
procedure TfrmFatchView.Chromium_OnLoadingStateChange(Sender: TObject; const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); begin FChromium.DefaultWindowInfoExStyle := FChromium.DefaultWindowInfoExStyle; end; procedure TfrmFatchView.Chromium_OnSetFocus(Sender: TObject; const browser: ICefBrowser; source: TCefFocusSource; out Result: Boolean); begin Result := True; end;

Jan Doggen
- 8,799
- 13
- 70
- 144

xsfhacg
- 1
-
Can you add some text explaning what this does? – Jan Doggen Sep 23 '22 at 12:48