WebView.SetHidden
-----------------

Sets a web viewer to be invisible.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WebView](component_WebView.md) | [7.1](newinversion71.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "WebView.SetHidden"; WebViewerRef; Value ) 

**MBS**( **"WebView.SetHidden";** /\* Sets a web viewer to be invisible. \*/  
**$WebViewerRef**; /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/   
**$Value**) /\* The new value.  
Pass 1 to hide or 0 to show.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. |  |
| Value | The new value.   Pass 1 to hide or 0 to show. | 1 |

### Result

Returns OK or error.

### Description

Sets a web viewer to be invisible.  
On Mac we can turn a web viewer invisible without FileMaker noticing and so you can do things without the user seeming it.  
### Examples

Hide a WebViewer:

 MBS ( "Webview.SetHidden"; "web"; 1 )  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetHidden](WebViewGetHidden.md)
- [WebView.GetSilent](WebViewGetSilent.md)
- [WebView.SetHeight](WebViewSetHeight.md)
- [WebView.SetSilent](WebViewSetSilent.md)
- [WebView.SetTitle](WebViewSetTitle.md)
- [WebView.SetWidth](WebViewSetWidth.md)

### Release notes

- **Version 7.1**
    - Added [Webview.GetHidden](http://www.mbsplugins.eu/WebviewGetHidden.shtml) and [Webview.SetHidden](http://www.mbsplugins.eu/WebviewSetHidden.shtml) to make WebViewer invisible on Mac.

### Blog Entries

- [MBS FileMaker Plugin 7.1 - Über 4400 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2017-03-14/MBS_FileMaker_Plugin_71_-_Übe/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.1 - More than 4400 Functions In One Plugin](https://www.mbsplugins.de/archive/2017-03-14/MBS_FileMaker_Plugin_71_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.1pr4](https://www.mbsplugins.de/archive/2017-03-06/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 24th February 2017 , last changed 4th November 2021

  
[WebView.SetHeight](WebViewSetHeight.md) - [WebView.SetInternetExplorerHiDPI](WebViewSetInternetExplorerHiDPI.md)

[HTML Version](WebViewSetHidden.shtml)