MenuItem.GetSelectable
----------------------

Queries whether menu item is selectable.

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

### Deprecated

This function was [deprecated](deprecated.md). Use [MenuItem.GetEnabled](MenuItemGetEnabled.md) instead.

MBS( "MenuItem.GetSelectable"; Item ) 

**MBS**( **"MenuItem.GetSelectable";** /\* Queries whether menu item is selectable. \*/  
**$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

Queries whether menu item is selectable.  
### See also

- [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md)
- [MenuItem.CreateSeparator](MenuItemCreateSeparator.md)
- [MenuItem.SetSelectable](MenuItemSetSelectable.md)

### Release notes

- **Version 12.0**
    - Deprecated [MenuItem.GetSelectable](https://www.mbsplugins.eu/MenuItemGetSelectable.shtml) and [MenuItem.SetSelectable](https://www.mbsplugins.eu/MenuItemSetSelectable.shtml) since they don't work properly anymore on current macOS versions.

### Blog Entries

- [MBS FileMaker Plugin, version 11.6pr4](https://www.mbsplugins.de/archive/2021-12-22/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 6.3pr3](https://www.mbsplugins.de/archive/2016-06-19/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 17th June 2016 , last changed 19th December 2021

  
[MenuItem.GetScriptName](MenuItemGetScriptName.md) - [MenuItem.GetState](MenuItemGetState.md)

[HTML Version](MenuItemGetSelectable.shtml)