Window.AddBottomOverlay
-----------------------

Adds a control on bottom of the window to hide FileMakers controls behind it.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Window](component_Window.md) | [5.3](newinversion53.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Window.AddBottomOverlay" { ; WindowRef; Color } ) 

**MBS**( **"Window.AddBottomOverlay";** /\* Adds a control on bottom of the window to hide FileMakers controls behind it. \*/  
**$WindowRef**; /\* Optional; Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window.e.g. 0 \*/   
**$Color**) /\* Optional; The color to use. Can be a color name or hex notation like in HTML. Default is OS X window color.e.g. "red" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the [Window.FindByTitle](WindowFindByTitle.md) or [Window.FindByIndex](WindowFindByIndex.md) functions. Pass zero to access the frontmost window. | 0 | Optional |
| Color | The color to use. Can be a color name or hex notation like in HTML. Default is OS X window color. | "red" | Optional |

### Result

Returns OK or error.

### Description

Adds a control on bottom of the window to hide FileMakers controls behind it.  
  
Deprecated as it should no longer be needed.  
### Examples

Add red bottom control:

 MBS ( "Window.AddBottomOverlay"; 0; "#FF0000" )  
Add gray bottom control:

 MBS ( "Window.AddBottomOverlay"; 0; "#ECECEC" )  
### See also

- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)

### Release notes

- **Version 10.1**
    - Deprecated [Window.AddBottomOverlay](https://www.mbsplugins.eu/WindowAddBottomOverlay.shtml), [Window.ShowContent](https://www.mbsplugins.eu/WindowShowContent.shtml), [Window.HideContent](https://www.mbsplugins.eu/WindowHideContent.shtml), [Window.ShowOverlay](https://www.mbsplugins.eu/WindowShowOverlay.shtml) and [Window.HideOverlay](https://www.mbsplugins.eu/WindowHideOverlay.shtml). If you need those, let us know soon.

### Example Databases

- [Mac only/Hide Bottom Controls](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Hide%20Bottom%20Controls.shtml#1Button125.0000000568.0000000158.0000000686.0000000LayoutObjectAnchor_)

### Blog Entries

- [MBS FileMaker Plugin, version 10.1pr7](https://www.mbsplugins.de/archive/2020-03-05/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [\[ANN\] MBS FileMaker Plugin 5.3 for OS X/Windows](https://www.mbsplugins.de/archive/2015-10-01/[ANN]_MBS_FileMaker_Plugin_53_/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.3pr1](https://www.mbsplugins.de/archive/2015-08-26/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 11st August 2015 , last changed 12nd June 2020

  
[Window.Activate](WindowActivate.md) - [Window.AddToTaskbar](WindowAddToTaskbar.md)

[HTML Version](WindowAddBottomOverlay.shtml)