move window

Examples


The move window statement changes the position of a window or scrolling window.

Syntax

move window window_name to h-position, v-position

Parameters

window_name – The name of the window or scrolling window to be moved.

h-position – The new horizontal position of the upper left corner of the window or scrolling window. For windows, this value is measured from the left edge of the screen. For scrolling windows, this value is measured from the left edge of the window that contains the scrolling window.

v-position – The new vertical position of the upper left corner of the window or scrolling window. For windows, this value is measured from the top of the screen. For scrolling windows, this value is measured from the top edge of the window that contains the scrolling window.

Comments

The positions are expressed in pixels. The coordinates 0, 0 specify the upper left corner of the screen or window. If a toolbar is present, the vertical position 0 is located below the bottom of the toolbar.

To leave one of the coordinates unchanged, use -1 as the parameter.

When moving a scrolling window, any fields or drawn objects that directly or indirectly touch the scrolling window will also be moved.


Documentation Feedback