Skip to main content
Table of Contents

TTMSFNCWebBrowser.OnGetPopupMenuForContextMenu Event

Fired when a context menu is requested and Settings.UsePopupMenuAsContextMenu is True.

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

Syntax

FMX.TMSFNCWebBrowser.hppPascalC++
OnGetPopupMenuForContextMenu: TTMSFNCWebBrowserOnGetPopupMenuForContextMenu;
__property TTMSFNCWebBrowserOnGetPopupMenuForContextMenu OnGetPopupMenuForContextMenu = {read=FOnGetPopupMenuForContextMenu, write=FOnGetPopupMenuForContextMenu};

Parameters

Name Description
Sender The web browser that raised the event.
ATarget Information about the element the user right-clicked.
APopupMenu Set to the TPopupMenu instance that should be shown as the context menu.