MenuItem.addOnClick

Overview | Methods | This Package | All Packages

MenuItem.addOnClick

Assigns a delegate to the click event.

Syntax

public void addOnClick( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

The click event occurs when this menu item is clicked by the user, using either the mouse, mnemonic keys, or shortcut keys.

This event is fired only for menu items that are not submenus.