Reputation: 37993
Is there any way to cancel URL loading using property TCustomWebBrowser.OnShouldStartLoadWithRequest
?
Type of this property is declared as
TWebBrowserShouldStartLoadWithRequest = procedure(ASender: TObject; const URL: string) of object;
So it doesn't return any value based on which one could decide whether to stop or continue URL loading...
Upvotes: 1
Views: 127