Microsoft SDK for Java

MenuItem.setShortcut

Associates a shortcut key with this menu item.

Syntax

public void setShortcut( int value )

Parameters

value

The shortcut to associate with this menu item. This value must be one of the enumeration values defined in the Shortcut class.

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