Window.ConfigureToolbarMenu
---------------------------

Configures toolbar menu.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Toolbar](component_Toolbar.md) [Window](component_Window.md) | [8.3](newinversion83.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "Window.ConfigureToolbarMenu"; Mode ) 

**MBS**( **"Window.ConfigureToolbarMenu";** /\* Configures toolbar menu. \*/  
**$Mode**) /\* Pass 1 to disable menu completly.  
Pass 2 to remove the show/hide command.  
Pass 4 to remove the configuration command.  
Pass 6 to remove both commands.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Mode | Pass 1 to disable menu completly.   Pass 2 to remove the show/hide command.   Pass 4 to remove the configuration command.   Pass 6 to remove both commands. | 1 |

### Result

Returns OK or error.

### Description

Configures toolbar menu.  
The plugin can watch what menu is about to show up for the toolbar.  
We can remove menu or remove some entries.  
### Examples

Disable toolbar menus:

 Set Variable \[$r ; Value: MBS ( "Window.ConfigureToolbarMenu"; 1 ) \]  
### Release notes

- **Version 12.2**
    - Rewrote [Window.ConfigureToolbarMenu](https://www.mbsplugins.eu/WindowConfigureToolbarMenu.shtml) for macOS 12 to make it work again.
- **Version 8.3**
    - Added [Window.ConfigureToolbarMenu](http://www.mbsplugins.eu/WindowConfigureToolbarMenu.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 12.2pr3](https://www.mbsplugins.de/archive/2022-04-21/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [Customize your FileMaker solution](https://www.mbsplugins.de/archive/2021-04-25/Customize_your_FileMaker_solut/monkeybreadsoftware_blog_filemaker)
- [Toolbar Security in FileMaker](https://www.mbsplugins.de/archive/2020-10-07/Toolbar_Security_in_FileMaker/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 8.3](https://www.mbsplugins.de/archive/2018-07-17/Neues_MBS_FileMaker_Plugin_83/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.3 released](https://www.mbsplugins.de/archive/2018-07-17/MBS_FileMaker_Plugin_83_releas/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)
- [Configure Toolbar Menu with MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2018-06-09/Configure_Toolbar_Menu_with_MB/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 4/2018, Seite 38](https://filemaker-magazin.de/neuigkeit/3997-Appetithappen-FMM_201804)

This function checks for a license.

Created 9th June 2018 , last changed 9th October 2020

  
[Window.ClearTouchBar](WindowClearTouchBar.md) - [Window.Current](WindowCurrent.md)

[HTML Version](WindowConfigureToolbarMenu.shtml)