FMX.WebBrowser.TWebBrowser.OnDidFailLoadWithError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDidFailLoadWithError: TWebBrowserDidFailLoadWithError read GetOnDidFailLoadWithError write SetOnDidFailLoadWithError;

C++

__property OnDidFailLoadWithError;

Properties

Type Visibility Source Unit Parent
event published
FMX.WebBrowser.pas
FMX.WebBrowser.hpp
FMX.WebBrowser TWebBrowser

Description

Occurs when local file or URL loading fails with an error.

FMX.WebBrowser.TWebBrowser.OnDidFailLoadWithError inherits from FMX.WebBrowser.TCustomWebBrowser.OnDidFailLoadWithError. All content below this line refers to FMX.WebBrowser.TCustomWebBrowser.OnDidFailLoadWithError.

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.

See Also