TTMSFNCWebBrowserSystemContextMenuItem Class
A read-only context menu item provided by the browser engine. Access via
TTMSFNCWebBrowserContextMenuItem.AsSystem.
API unit family: TMSFNCWebBrowser
Inherits from: TTMSFNCWebBrowserContextMenuItem
Syntax
TTMSFNCWebBrowserSystemContextMenuItem = class(TTMSFNCWebBrowserContextMenuItem)
Properties
| Name | Description |
|---|---|
| Checked | When True, the item is in a checked or selected state (applicable to checkbox and radio items). |
| Children | Child context menu items nested under this item, forming a submenu. |
| DataBoolean | Application-defined Boolean value for associating custom data with this menu item. True when the caller has set this flag; False by default. (inherited from TTMSFNCWebBrowserContextMenuItem) |
| DataInteger | Application-defined integer for associating custom data with this menu item. (inherited from TTMSFNCWebBrowserContextMenuItem) |
| DataObject | Application-defined object reference for associating custom data with this menu item. (inherited from TTMSFNCWebBrowserContextMenuItem) |
| DataPointer | Application-defined pointer for associating custom data with this menu item. (inherited from TTMSFNCWebBrowserContextMenuItem) |
| DataString | Application-defined string for associating custom data with this menu item. (inherited from TTMSFNCWebBrowserContextMenuItem) |
| Enabled | When True, the item responds to user interaction; when False, it appears greyed out. |
| Icon | Icon bitmap displayed alongside the menu item text. |
| Kind | Classifies this context menu item as a command, separator, checkbox, radio button, or submenu. |
| Name | Internal name identifier of this context menu item as assigned by the browser engine. |
| ParentItem | The parent context menu item that contains this item as a child, or nil for top-level items. |
| Text | Display label of this context menu item. |
Methods
| Name | Description |
|---|---|
| AsCustom | Casts this item to TTMSFNCWebBrowserCustomContextMenuItem; returns nil if the item is a system item. (inherited from TTMSFNCWebBrowserContextMenuItem) |
| AsSystem | Casts this item to TTMSFNCWebBrowserSystemContextMenuItem; returns nil if the item is a custom item. (inherited from TTMSFNCWebBrowserContextMenuItem) |