Lingo Dictionary > L-N > modal

 

modal

Syntax

window "window".modal
the modal of window "window"

Description

Window property; specifies whether movies can respond to events that occur outside the window specified by window.

When the modal window property is TRUE, movies cannot respond to events outside the window.

When the modal window property is FALSE, movies can respond to events outside the window.

Setting the modal window property to TRUE lets you make a specific movie in a window the only movie that the user can interact with.

Be aware that this property works even in the authoring environment. If you set the modal window property to TRUE, you will not be able to interact with Director's windows either.

You can always close a window that is modal by using Control+Alt+period (Windows) or Command+period (Macintosh).

Example

This statement lets movies respond to events outside of the Tool Panel window:

window("Tool Panel").modal = FALSE