Lingo Dictionary > S > sourceRect |  |

sourceRect

Syntax

    window whichWindow.sourceRect
    the sourceRect of window whichWindow

Description

Window property; specifies the original Stage coordinates of the movie playing in the window specified by `whichWindow`.

This property is useful for returning a window to its original size and position after it has been dragged or its rectangle has been set.

Example

This statement displays the original coordinates of the Stage named Control Panel in the Message window:

    put window("Control Panel").sourceRect

See also

`drawRect`, `rect (window)`