Microsoft SDK for Java

MenuItem.getShowShortcut

Retrieves a boolean value that indicates whether the shortcut associated with this menu item should be displayed.

Syntax

public boolean getShowShortcut()

Return Value

Returns true if the shortcut will be displayed; otherwise, returns false. The default value is true.

See Also   setShowShortcut

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