Table of Contents

TTMSFNCWebBrowserOnGetPopupMenuForContextMenu Event Type

Fired when the browser requests a context menu and Settings.UsePopupMenuAsContextMenu is True, allowing the application to supply a TPopupMenu instead.

API unit family: TMSFNCWebBrowser

Parameters

Name Description
Sender The web browser control that triggered the event.
ATarget Information about the element under the cursor. See TTMSFNCWebBrowserTargetItem.
APopupMenu Set this to the TPopupMenu instance to display; leave nil to suppress the menu.