Menu.GetEvaluate
----------------

Queries expression to be run when menu is chosen.

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

MBS( "Menu.GetEvaluate"; menu ) 

**MBS**( **"Menu.GetEvaluate";** /\* Queries expression to be run when menu is chosen. \*/  
**$menu**) /\* The reference to the menu. Please create one with [Menu.CreateMenu](MenuCreateMenu.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| menu | The reference to the menu. Please create one with [Menu.CreateMenu](MenuCreateMenu.md). | $menu |

### Result

Returns text or error.

### Description

Queries expression to be run when menu is chosen.  
### See also

- [Menu.CreateMenu](MenuCreateMenu.md)
- [Menu.SetEvaluate](MenuSetEvaluate.md)
- [MenuItem.GetEvaluate](MenuItemGetEvaluate.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.1pr5](https://www.mbsplugins.de/archive/2016-03-06/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 4th March 2016 , last changed 9th November 2021

  
[Menu.GetAllowsContextMenuPlugIns](MenuGetAllowsContextMenuPlugIns.md) - [Menu.GetMinimumWidth](MenuGetMinimumWidth.md)

[HTML Version](MenuGetEvaluate.shtml)