FMX.WebBrowser.TCustomWebBrowser.OnShouldStartLoadWithRequest
Delphi
property OnShouldStartLoadWithRequest: TWebBrowserShouldStartLoadWithRequest read GetOnShouldStartLoadWithRequest write SetOnShouldStartLoadWithRequest;
C++
__property TWebBrowserShouldStartLoadWithRequest OnShouldStartLoadWithRequest = {read=GetOnShouldStartLoadWithRequest, write=SetOnShouldStartLoadWithRequest};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.WebBrowser.pas FMX.WebBrowser.hpp |
FMX.WebBrowser | TCustomWebBrowser |
Description
Occurs before loading a local file or a URL address.
OnShouldStartLoadWithRequest also occurs when the ShouldStartLoading method is called.
Write an event handler for OnShouldStartLoadWithRequest to specify what happens before a local file or a URL address starts to load.
Note: Read FMX.WebBrowser.TCustomWebBrowser.URL to see how to load a local file.