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  

MapView.SetAutoResizingMask

Sets the auto resizing mask.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MapView 9.0 Yes No No No Yes
MBS( "MapView.SetAutoResizingMask"; MapView; Value )   More

Parameters

Parameter Description Example value
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.

NameValueDescription
NotSizable0The view cannot be resized.
MinXMargin1The left margin between the view and its superview is flexible.
WidthSizable2The view’s width is flexible.
MaxXMargin4The right margin between the view and its superview is flexible.
MinYMargin8The bottom margin between the view and its superview is flexible.
HeightSizable16The view’s height is flexible.
MaxYMargin32The 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

Blog Entries

Created 16th January 2019, last changed 16th January 2019


MapView.RemoveOverlays   -   MapView.SetCoordinate

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins