Skip to main content
Table of Contents

TTMSFNCWebBrowser.OnBeforeNavigate Event

Fired before the main frame begins loading a URL. Set Params.Cancel to block the navigation.

API unit family: TMSFNCWebBrowser Declaring type: TTMSFNCWebBrowser Inherited from: TTMSFNCCustomWebBrowser

Syntax

FMX.TMSFNCWebBrowser.hppPascalC++
OnBeforeNavigate: TTMSFNCCustomWebBrowserBeforeNavigate;
__property TTMSFNCCustomWebBrowserBeforeNavigate OnBeforeNavigate = {read=FOnBeforeNavigate, write=FOnBeforeNavigate};

Parameters

Name Description
Sender The web browser that raised the event.
Params Navigation request details including the target URL. See TTMSFNCCustomWebBrowserBeforeNavigateParams.