TTMSFNCWebBrowserOnGetPopupMenuForContextMenu Event Type
Fired when the browser requests a context menu and
Settings.UsePopupMenuAsContextMenuisTrue, allowing the application to supply aTPopupMenuinstead.
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. |