Window.GetToolbarVisible
------------------------

Returns whether the toolbar is visible.

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

MBS( "Window.GetToolbarVisible"; WindowRef ) 

**MBS**( **"Window.GetToolbarVisible";** /\* Returns whether the toolbar is visible. \*/  
**$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.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| 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 |

### Result

Returns state or error.

### Description

Returns whether the toolbar is visible.  
Value is 0 if invisible or 1 if visible.  
### See also

- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)
- [Window.GetTitleVisible](WindowGetTitleVisible.md)
- [Window.GetToolbarStyle](WindowGetToolbarStyle.md)
- [Window.ScrollbarsVisible](WindowScrollbarsVisible.md)
- [Window.SetTitleVisible](WindowSetTitleVisible.md)
- [Window.SetToolbarStyle](WindowSetToolbarStyle.md)
- [Window.SetToolbarVisible](WindowSetToolbarVisible.md)

### Example Databases

- [Mac only/Toolbar/Window Toolbar](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Toolbar/Window%20Toolbar.shtml#1GroupButton18.0000000522.000000043.0000000571.0000000LayoutObjectAnchor_)

This function checks for a license.

Created 19th August 2014 , last changed 20th August 2014

  
[Window.GetToolbarStyle](WindowGetToolbarStyle.md) - [Window.GetTop](WindowGetTop.md)

[HTML Version](WindowGetToolbarVisible.shtml)