Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MapView.SetAutoResizingMask
Sets the auto resizing mask.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| MapView | 9.0 | Yes | No | No | No | Yes |
MBS( "MapView.SetAutoResizingMask"; MapView; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |
| Value | The new setting. | 4+8 |
Result
Returns OK or error.
Description
Sets the 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).
Examples
Make mapview resizable:
MBS( "MapView.SetAutoResizingMask"; $$MapView; 2+16 )
See also
- AVPlayer.GetAutoResizingMask
- AVPlayer.SetAutoResizingMask
- DragDrop.GetAutoResizingMask
- DragDrop.SetAutoResizingMask
- MapView.GetAutoResizingMask
- TextView.GetAutoResizingMask
- TextView.SetAutoResizingMask
- WebView.GetAutoResizingMask
- WebView.SetAutoResizingMask
Example Databases
Blog Entries
Created 16th January 2019, last changed 16th January 2019
MapView.SetAnnotationSelectedImage - MapView.SetColor
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins