Window.SetTitleVisible
----------------------

Sets whether title bar of window is visible.

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

MBS( "Window.SetTitleVisible"; WindowRef; Value ) 

**MBS**( **"Window.SetTitleVisible"** /\* Sets whether title bar of window 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 \*/   
**$Value**) /\* The new visible setting. e.g. 1 \*/ 

### 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 |
| Value | The new visible setting. | 1 |

### Result

Returns OK or error.

### Description

Sets whether title bar of window is visible.  
Set to 1 to make it visible and 0 to hide it.  
Requires OS X 10.10 or newer.  
### Examples

Hide titlebar

 Set Variable \[$r ; Value:MBS ("Window.SetTitleVisible"; 0; 1)\]  
### See also

- [Window.FindByIndex](WindowFindByIndex.md)
- [Window.FindByTitle](WindowFindByTitle.md)
- [Window.GetTitleVisible](WindowGetTitleVisible.md)
- [Window.GetToolbarVisible](WindowGetToolbarVisible.md)
- [Window.SetTitle](WindowSetTitle.md)
- [Window.SetToolbarVisible](WindowSetToolbarVisible.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.0pr7](https://www.mbsplugins.de/archive/2016-01-20/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 16th January 2016 , last changed 16th January 2016

  
[Window.SetTitleIcon](WindowSetTitleIcon.md) - [Window.SetTitlebarAppearsTransparent](WindowSetTitlebarAppearsTransparent.md)

[HTML Version](WindowSetTitleVisible.shtml)