Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

Window.Move

Component: Window
Version: 2.2
Mac OS X: Works
Windows: Works

MBS( "Window.Move"; WindowRef; X; Y; Duration )

Parameters

Parameter Description Example value
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
Duration Optiona for Mac: the duration. Can be a value between 0.1 and 5.0. 0.5

Result

Returns OK on success.

Description

Moves the window animated.
On Mac OS X we use Apples functions for animated move. On Windows we have our own code.

Examples

MBS("Window.Move"; WindowRef; 300; 200)

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Christians Software aus Nickenich