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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Moves the window animated.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Window | 2.2 | ✅ 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 | |
X | The new X position of the window. | 300 | |
Y | The new Y position 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.
Moves a window:
MBS("Window.Move"; $WindowRef; 300; 200)
Created 18th August 2014, last changed 10th August 2020
Window.ModalDialogFront - Window.PositionNextDialog
Feedback: Report problem or ask question.