to determine if the page has finished loading, I can use
Code: Select all
procedure TMain.crmLoadingStateChange(Sender: TObject; const browser: ICefBrowser;
isLoading, canGoBack, canGoForward: Boolean);
begin
if isLoading then
begin
Label3.Caption := 'Loading...';
end
else
begin
Label3.Caption := 'Finished load';
gFinished := True;
end;
end;
If it is possible, please point out the way to correctly determine the end of page loading. maybe there is a time interval setting, somewhere in GlobalCEFApp or somewhere else.
Thank you.