Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

AVPlayer.SetAutoResizingMask

Sets the auto resizing mask.

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

Parameters

Parameter Description Example value
AVPlayer The reference number of the player. $Player
Value The new setting. 4+8

Result

Returns OK or error.

Description

Sets the 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).

Examples

Set autoresize, so the control stays where it is:

Set Variable [ $r ; Value: MBS( "AVPlayer.SetAutoResizingMask"; $$Player; 4+8 ) ]

See also

Example Databases

Blog Entries

Created 12nd March 2020, last changed 12nd March 2020


AVPlayer.ReleaseAll   -   AVPlayer.SetControlsStyle

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins