WebView.Scrollbar.getVerticalMaximum
------------------------------------

Queries maximum value for vertical scrollbar.

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

MBS( "WebView.Scrollbar.getVerticalMaximum"; WebViewerRef ) 

**MBS**( **"WebView.Scrollbar.getVerticalMaximum";** /\* Queries maximum value for vertical scrollbar. \*/  
**$WebViewerRef**) /\* Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function.e.g. "web" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "[WebView.FindByName](WebViewFindByName.md)" function. | "web" |

### Result

Returns value or error.

### Description

Queries maximum value for vertical scrollbar.  
Alternative you can run JavaScript to query document.scrollingElement.scrollHeight yourself.  
### Examples

Query current and maximum:

 MBS ( "[WebView.Scrollbar.getVerticalPosition](WebViewScrollbargetVerticalPosition.md)"; "web" ) &amp; " of " &amp; MBS ( "Webview.Scrollbar.getVerticalMaximum"; "web" )  
### See also

- [WebView.FindByName](WebViewFindByName.md)
- [WebView.Scrollbar.getHorizontalMaximum](WebViewScrollbargetHorizontalMaximum.md)
- [WebView.Scrollbar.getVerticalPosition](WebViewScrollbargetVerticalPosition.md)
- [Window.Scrollbar.getVerticalMaximum](WindowScrollbargetVerticalMaximum.md)

### Release notes

- **Version 13.2**
    - Improved [WebView.Scrollbar.getHorizontalMaximum](https://www.mbsplugins.eu/WebViewScrollbargetHorizontalMaximum.shtml), [WebView.Scrollbar.getHorizontalPosition](https://www.mbsplugins.eu/WebViewScrollbargetHorizontalPosition.shtml), [WebView.Scrollbar.getVerticalMaximum](https://www.mbsplugins.eu/WebViewScrollbargetVerticalMaximum.shtml), [WebView.Scrollbar.getVerticalPosition](https://www.mbsplugins.eu/WebViewScrollbargetVerticalPosition.shtml) and [WebView.Scrollbar.set](https://www.mbsplugins.eu/WebViewScrollbarset.shtml) to work on macOS when the web viewer is an interactive container showing a PDF document.
- **Version 8.5**
    - Implemented [WebView.Scrollbar.set](http://www.mbsplugins.eu/WebViewScrollbarset.shtml), [WebView.Scrollbar.getHorizontalPosition](http://www.mbsplugins.eu/WebViewScrollbargetHorizontalPosition.shtml), [WebView.Scrollbar.getVerticalPosition](http://www.mbsplugins.eu/WebViewScrollbargetVerticalPosition.shtml), [WebView.Scrollbar.getHorizontalMaximum](http://www.mbsplugins.eu/WebViewScrollbargetHorizontalMaximum.shtml) and [WebView.Scrollbar.getVerticalMaximum](http://www.mbsplugins.eu/WebViewScrollbargetVerticalMaximum.shtml) for FileMaker 16+ on Mac and also for iOS.

### Blog Entries

- [MBS FileMaker Plugin, version 13.2pr6](https://www.mbsplugins.de/archive/2023-05-05/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.5pr2](https://www.mbsplugins.de/archive/2018-10-12/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 5.0pr5](https://www.mbsplugins.de/archive/2015-01-01/MBS_Filemaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 22nd December 2014 , last changed 19th May 2021

  
[WebView.Scrollbar.getHorizontalPosition](WebViewScrollbargetHorizontalPosition.md) - [WebView.Scrollbar.getVerticalPosition](WebViewScrollbargetVerticalPosition.md)

[HTML Version](WebViewScrollbargetVerticalMaximum.shtml)