FMX - Cancel URL loading

132 Views Asked by At

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...

0

There are 0 best solutions below