Table of Contents

TTMSFNCWebBrowserContextMenuItem Class

Base class for a single item in the browser context menu. Use TTMSFNCWebBrowserSystemContextMenuItem for read-only browser-provided items and TTMSFNCWebBrowserCustomContextMenuItem for items you add.

API unit family: TMSFNCWebBrowser Inherits from: TPersistent

Syntax

TTMSFNCWebBrowserContextMenuItem = class(TPersistent)

Properties

Name Description
DataBoolean Application-defined Boolean value for associating custom data with this menu item. True when the caller has set this flag; False by default.
DataInteger Application-defined integer for associating custom data with this menu item.
DataObject Application-defined object reference for associating custom data with this menu item.
DataPointer Application-defined pointer for associating custom data with this menu item.
DataString Application-defined string for associating custom data with this menu item.

Methods

Name Description
AsCustom Casts this item to TTMSFNCWebBrowserCustomContextMenuItem; returns nil if the item is a system item.
AsSystem Casts this item to TTMSFNCWebBrowserSystemContextMenuItem; returns nil if the item is a custom item.