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

DragDrop.GetAutoResizingMask

Queries auto resizing mask.

Component Version macOS Windows Linux Server iOS SDK
DragDrop 9.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "DragDrop.GetAutoResizingMask"; droparea )   More

Parameters

Parameter Description Example
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle

Result

Returns number or error.

Description

Queries auto resizing mask.
This defines whether view 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).

See also

Release notes

Blog Entries

This function is free to use.

Created 20th February 2019, last changed 28th June 2023


DragDrop.CreateWithWindow - DragDrop.GetEmailAccount