IMenuItem.Enabled

Syntax

Enabled: Boolean;

Description

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

Comments

The property must be set to False, to make the menu item disabled. The unavailable component is grey. It ignores events connected with the 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.

See also:

IMenuItem