WebView.SetTitle
----------------

Sets the title of the web page that is currently being displayed in the web Viewer.

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

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

**MBS**( **"WebView.SetTitle";** /\* Sets the title of the web page that is currently being displayed in the web Viewer. \*/  
**$WebViewerRef**; /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. \*/   
**$Value**) /\* The value to set \*/ 

### 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 value to set |  |

### Description

Sets the title of the web page that is currently being displayed in the web Viewer.   
The same as document.write = "Something"  
  
Alternative you can run JavaScript to set document.title yourself.  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.GetTitle](WebViewGetTitle.md)
- [WebView.SetEditable](WebViewSetEditable.md)
- [WebView.SetHidden](WebViewSetHidden.md)
- [WebView.SetSilent](WebViewSetSilent.md)
- [WebView.SetWidth](WebViewSetWidth.md)

### Blog Entries

- [FileMaker and WebViewer communication](https://www.mbsplugins.de/archive/2018-08-24/FileMaker_and_WebViewer_commun/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 19th May 2021

  
[WebView.SetSilent](WebViewSetSilent.md) - [WebView.SetUsePrivateBrowsing](WebViewSetUsePrivateBrowsing.md)

[HTML Version](WebViewSetTitle.shtml)