MoveWindow

Description:              This statement will move a window to the specified coordinates.

Returns:                    Nothing

Usage:                       Steady State

Format:                      MoveWindow(Win, X, Y)

Parameters:             Win   { Object value }  { required }  { no default }

                                      Any expression that gives an object value contained in the window to move.

                                    X   { numeric }  { required }  { no default }

                                      Any numeric expression giving the pixel coordinate to place the left hand side of the window.

                                    Y   { numeric }  { required }  { no default }

                                       Any numeric expression giving the pixel coordinate to place the top of the window.

Comments:               The pixel coordinates given are relative to the upper left hand corner of the screen. The corner being point (0,0). The X coordinates increase as you move right across the screen. The Y coordinates increase as you move towards the bottom of the screen.

Example:

MoveWindow(CurrentWindow(), 20, 20);

This statement will cause the current window to move to the upper left corner of the screen.  (Will not cause an error in script mode, but this is not common usage)

See Also:

CurrentWindow | SizeWindow | WindowOptions