Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the bounds of the window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 1.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 | |
Left | The left bound of the window. If empty, leave that value unchanged. |
100 | |
Top | The top bound of the window. If empty, leave that value unchanged. |
100 | |
Width | The new width of the window. If empty, leave that value unchanged. |
500 | |
Height | The new height of the window. If empty, leave that value unchanged. |
500 | |
Animate | Available in MBS FileMaker Plugin 10.5 or newer. Whether to animate transition on macOS. Pass 1 to animate or 0 to not. |
1 | Optional |
Set Window Bounds
Let(
[
/*-----------------PARAMETERS--------------------*/
WindowRef = 0;
Left = 100;
Top = 100;
Right = 500;
Bottom = 500
];
/*-------------------FUNCTION----------------------*/
MBS(
"Window.SetBounds";
WindowRef;
Left;
Top;
Right;
Bottom
)
)
This function checks for a license.
Created 18th August 2014, last changed 20th September 2020