Microsoft SDK for Java

MenuItem.setEnabled

Sets a boolean value that indicates whether this item is enabled.

Syntax

public void setEnabled( boolean value )

Parameters

value

Set to true to enable this menu item; otherwise, set to false.

See Also   getEnabled

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