Lingo Dictionary > D-F > frontWindow

 

frontWindow

Syntax

the frontWindow

Description

System property; indicates which movie in a window (MIAW) is currently frontmost on the screen. When the Stage is frontmost, front window is the Stage. When a media editor or floating palette is frontmost, frontWindow returns VOID.

This property can be tested but not set.

Example

This statement determines whether the window "Music" is currently the frontmost window and, if it is, brings the window "Try This" to the front:

if the frontWindow = "Music" then window("Try This").moveToFront

See also

activeWindow, on activateWindow, on deactivateWindow, moveToFront