Control.getContextMenu

Overview | Methods | Fields | This Package | All Packages

Control.getContextMenu

Retrieves the shortcut menu (also known as a context menu) associated with this control.

Syntax

public final ContextMenu getContextMenu()

Return Value

Returns The ContextMenu object that represents the shortcut menu that appears when the user right-clicks this control.

Remarks

The shortcut menu is the menu that appears when the user right-clicks the control.

See Also   setContextMenu