Returns or sets whether a menu item is inactive and not available to the user.
Object.Inactive [ = bInactive ]
The Inactive property syntax has the following parts:
Name |
Type |
Description |
Object |
AMenu |
AMenu object |
bInactive |
Bool |
A boolean expression that specifies whether or not a menu item is inactive and not available to the user. |
bInactive can be one of the following:
Value |
Description |
True |
The menu item is inactive and not available to the user. |
False * |
The menu item is active and can be accessed by the user. |
It is the responsibility of the programmer to set the grayed property to match the inactive property.
The following statement changes the menu item on the AMenu to be inactive:
mnu1.Inactive=True