MenuItem.GetRequireOption
-------------------------

Queries if this menu item only shows if option/alt key is pressed.

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

MBS( "MenuItem.GetRequireOption"; Item ) 

**MBS**( **"MenuItem.GetRequireOption";** /\* Queries if this menu item only shows if option/alt key is pressed. \*/  
**$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 1, 0 or error.

### Description

Queries if this menu item only shows if option/alt key is pressed.  
### See also

- [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md)
- [MenuItem.CreateSeparator](MenuItemCreateSeparator.md)
- [MenuItem.GetRequireCommand](MenuItemGetRequireCommand.md)
- [MenuItem.GetRequireControl](MenuItemGetRequireControl.md)
- [MenuItem.GetRequireShift](MenuItemGetRequireShift.md)
- [MenuItem.SetRequireCommand](MenuItemSetRequireCommand.md)
- [MenuItem.SetRequireControl](MenuItemSetRequireControl.md)
- [MenuItem.SetRequireOption](MenuItemSetRequireOption.md)
- [MenuItem.SetRequireShift](MenuItemSetRequireShift.md)

### Blog Entries

- [MBS FileMaker Plugin, version 5.1pr8](https://www.mbsplugins.de/archive/2015-05-13/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 11st May 2015 , last changed 26th March 2026

  
[MenuItem.GetRequireControl](MenuItemGetRequireControl.md) - [MenuItem.GetRequireShift](MenuItemGetRequireShift.md)

[HTML Version](MenuItemGetRequireOption.shtml)