Microsoft SDK for Java

MenuItem.addOnSelect

Assigns a delegate to the select event.

Syntax

public void addOnSelect( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

The select event occurs when a menu item has been selected but not yet activated.

See Also   onSelect, removeOnSelect

© 1999 Microsoft Corporation. All rights reserved. Terms of use.