Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
WebView.GetAutoResizingMask
Queries auto resizing mask.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Webview | 7.5 | Yes | No | No | No | No |
MBS( "WebView.GetAutoResizingMask"; WebViewerRef ) More
Parameters
Parameter | Description | Example value |
---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. |
Result
Returns number or error.
Description
Queries auto resizing mask.This defines whether web viewer changes its size based on the surrounding window.
Name | Value | Description |
NotSizable | 0 | The view cannot be resized. |
MinXMargin | 1 | The left margin between the view and its superview is flexible. |
WidthSizable | 2 | The view’s width is flexible. |
MaxXMargin | 4 | The right margin between the view and its superview is flexible. |
MinYMargin | 8 | The bottom margin between the view and its superview is flexible. |
HeightSizable | 16 | The view’s height is flexible. |
MaxYMargin | 32 | The top margin between the view and its superview is flexible. |
e.g. the value 18 means the view can resize both horizontally and vertically with the parent view (window).
See also
- MapView.GetAutoResizingMask
- MapView.SetAutoResizingMask
- WebView.FindByName
- WebView.SetAutoResizingMask
Blog Entries
Created 14th November 2017, last changed 16th January 2019
WebView.FormSubmit - WebView.GetCustomUserAgent
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos