Share via


ProjectNode.handleContextMenuItem Method

Handles a user selecting an item on the shortcut menu that has been defined by the corresponding method addContextMenuItems.

Syntax

protected void handleContextMenuItem(int id)

Run On

Called

Parameters

  • id
    Type: int
    The ID of the menu items. This is the zero-based number in the list set by the addContextMenuItems method. If accContextMenuItems returns the string "item1,item2" and the user selects the item "item2" in the shortcut menu, this method uses the value 1.

Remarks

This method is called when a user selects an item on the shortcut menu that has been defined by the corresponding method addContextMenuItems.

See Also

ProjectNode Class

ProjectNode.addContextMenuItems Method

ProjectNode.addContextMenuItems Method