MenuItem.GetEnabled
-------------------

Returns a Boolean value that indicates whether the receiver is enabled.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Menu](component_Menu.md) | [4.1](newinversion41.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "MenuItem.GetEnabled"; Item ) 

**MBS**( **"MenuItem.GetEnabled";** /\* Returns a Boolean value that indicates whether the receiver is enabled. \*/  
**$Item**) /\* The reference to the menu item. Please create one with [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md) or [MenuItem.CreateSeparator](MenuItemCreateSeparator.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Item | The reference to the menu item. Please create one with [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md) or [MenuItem.CreateSeparator](MenuItemCreateSeparator.md). | $item |

### Result

Returns 0, 1 or error.

### Description

Returns a Boolean value that indicates whether the receiver is enabled.  
See also [MenuItem.SetEnabled](MenuItemSetEnabled.md).  
### See also

- [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md)
- [MenuItem.CreateSeparator](MenuItemCreateSeparator.md)
- [MenuItem.GetImage](MenuItemGetImage.md)
- [MenuItem.GetItalic](MenuItemGetItalic.md)
- [MenuItem.GetState](MenuItemGetState.md)
- [MenuItem.GetTitle](MenuItemGetTitle.md)
- [MenuItem.SetEnabled](MenuItemSetEnabled.md)

This function is free to use.

Created 18th August 2014 , last changed 9th January 2015

  
[MenuItem.GetBold](MenuItemGetBold.md) - [MenuItem.GetEvaluate](MenuItemGetEvaluate.md)

[HTML Version](MenuItemGetEnabled.shtml)