API:FMX.WebBrowser.TWebBrowser.OnShouldStartLoadWithRequest

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnShouldStartLoadWithRequest;

C++

__property OnShouldStartLoadWithRequest;

Properties

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

Description

Occurs before loading a local file or a URL address.

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

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.

See Also