IMenuItem.Enabled

Syntax

Enabled: Boolean;

Description

The Enabled property determines whether the menu item is enabled for the user.

Comments

Available values:

The disabled item is grayed and ignores events related with mouse, keyboard, and timer events.

If the menu item uses the Action object, the value of the Enabled property of the menu item is determined automatically by the value of the Enabled property of the Action object.

NOTE. The Enabled property can be set to False if the menu item is root for the MainMenu component.

See also:

IMenuItem