Inactive Property (AMenu)

Returns or sets whether a menu item is inactive and not available to the user.

Syntax

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.

Where

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.

Comments

It is the responsibility of the programmer to set the grayed property to match the inactive property.

Example

The following statement changes the menu item on the AMenu to be inactive:

mnu1.Inactive=True

Applies to

AMenu

See Also

Grayed