Skip to main content
Table of Contents

TTMSFNCWebBrowser.OnGetContextMenu Event

Fired when the browser is about to show a context menu, allowing the application to inspect or modify the item list.

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

Syntax

FMX.TMSFNCWebBrowser.hppPascalC++
OnGetContextMenu: TTMSFNCWebBrowserOnGetContextMenu;
__property TTMSFNCWebBrowserOnGetContextMenu OnGetContextMenu = {read=FOnGetContextMenu, write=FOnGetContextMenu};

Parameters

Name Description
Sender The web browser that raised the event.
ATarget Information about the element the user right-clicked.
AContextMenu Modifiable list of context menu items.