Skip to main content

OnContextMenu Event

Fired when the user clicks the button's custom context menu.

Definition​

OnContextMenu(Item)

Parameters​

ParameterDescription
ItemThe text of the menu item clicked.

Remarks​

The OnContextMenu event fires when the user clicks a menu item in the context menu defined in the ContextMenu property. The Item parameter contains the item's text.

See Also​

ContextMenu