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

OnGetPopupMenuForContextMenu: TTMSFNCWebBrowserOnGetPopupMenuForContextMenu;

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.