Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WebView.SetHeight

Sets the height of the WebViewer.

Component Version macOS Windows Linux Server iOS SDK
WebView 15.5 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "WebView.SetHeight"; WebViewerRef; Value )   More

Parameters

Parameter Description Example
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.
Value The new height in points.

Result

Returns OK or error.

Description

Sets the height of the WebViewer.
While this may be useful for e.g. to make a screenshot of a WebViewer with content rendered for that height, FileMaker Pro is not aware about the change and may reset it later at any time.

Examples

Set front WebViewer to 500x400:

Set Variable [ $r ; Value: MBS("WebView.SetWidth"; ""; 500) & MBS("WebView.SetHeight"; ""; 400) ]

See also

Release notes

  • Version 15.5
    • Added WebView.GetHeight, WebView.GetWidth, WebView.SetHeight and WebView.SetWidth functions.

Blog Entries

Created 4th October 2025, last changed 6th October 2025


WebView.SetFrameWithControl - WebView.SetHidden