Lingo Dictionary > L-N > on moveWindow |  |

on moveWindow

Syntax

    on moveWindow
    	statement(s)
    end

Description

System message and event handler; contains statements that run when a window is moved, such as by dragging a movie to a new location on the Stage, and is a good place to put Lingo that you want executed every time a movie's window changes location.

Example

This handler displays a message in the Message window when the window a movie is playing in moves:

    on moveWindow
    	put "Just moved window containing"&&the movieName
    end

See also

`activeWindow, movieName`,`windowList`