ProjectNode.handleContextMenuItem Method [AX 2012]

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

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.

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

Community Additions

ADD
Show: