Retrieves or sets a value that indicates whether the item is enabled or disabled.
Type
Description
Boolean
A Boolean expression that specifies whether the item is enabled or disabled.
By default, the Enabled property is True. Use the Enabled
property to disable an item. A disabled item ( Enabled property is False) shows as grayed, and it is
un-selectable, so the user can select or highlight it. An item ( Enabled
property is True, ShowAsDisabled property is True
), shows as grayed, but it is selectable, so the user can select or highlight it.
You can use the Visible
property to show or hide the item. The Remove
method removes an individual Item object giving its identifier or caption. Use
the ShowAsDisabled property to show the
item as disabled, while it is enabled.