moveToFront()

Usage

-- Lingo syntax
windowObjRef.moveToFront()

// JavaScript syntax
windowObjRef.moveToFront();

Description

Window method; moves a window in front of all other windows.

Parameters

None.

Example

These statements move the first window in windowList in front of all other windows:

-- Lingo syntax
myWindow = _player.windowList[1]
myWindow.moveToFront()

// JavaScript syntax
var myWindow = _player.windowList[1];
myWindow.moveToFront();

If you know the name of the window you want to move, use the syntax:

-- Lingo syntax
window("Demo Window").moveToFront()

// JavaScript syntax
window("Demo Window").moveToFront();

See also

moveToBack(), Window