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: 11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4    Statistic    FMM    Blog  


Resizes the window animated.

Component Version macOS Windows Linux Server iOS SDK
Window 2.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Window.Resize"; WindowRef; width; height { ; NoAnimation; Duration } )   More


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
width The new width of the window. 300
height The new height of the window. 200
NoAnimation Whether to avoid animation. Pass 1 to disable animation. Default is 0 to allow animation. 0 Optional
Duration The duration in seconds. Can be a value between 0.1 and 5.0. 0.5 Optional


Returns OK on success.


Resizes the window animated.
On macOS we use Apples functions for animated resizing. On Windows we have our own code. Please make sure on Windows that the window is not maximized as resizing a maximized window puts it in a mode where you can't manual resize it.


Resizes a window:

MBS("Window.Resize"; $WindowRef; 300; 200)

Resize main window on windows:

MBS("Window.Resize"; "FileMaker Pro Advanced"; 800; 600)

See also

Release notes

Example Databases

Blog Entries

Created 18th August 2014, last changed 10th August 2020

Window.Resizable - Window.ResizeContentView

Feedback: Report problem or ask question.

Start Chat