FMX.WebBrowser.TCustomWebBrowser.OnDidFailLoadWithError
Delphi
property OnDidFailLoadWithError: TWebBrowserDidFailLoadWithError read GetOnDidFailLoadWithError write SetOnDidFailLoadWithError;
C++
__property TWebBrowserDidFailLoadWithError OnDidFailLoadWithError = {read=GetOnDidFailLoadWithError, write=SetOnDidFailLoadWithError};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FMX.WebBrowser.pas FMX.WebBrowser.hpp |
FMX.WebBrowser | TCustomWebBrowser |
Description
Occurs when local file or URL loading fails with an error.
OnDidFailLoadWithError also occurs when the FailLoadingWithError method is called.
Write an event handler for OnDidFailLoadWithError to specify what happens when a local file or a URL address fails to load.
Note: Read FMX.WebBrowser.TCustomWebBrowser.URL to see how to load a local file.