Lingo Dictionary > D-F > exitLock |
![]() ![]() ![]() |
exitLock
Syntax
the exitLock
Description
Movie property; determines whether a user can quit to the Windows desktop or Macintosh Finder from projectors (TRUE
) or not (FALSE
, default).
The user can quit to the desktop by pressing Control+period (Windows) or Command+period (Macintosh), Control+Q (Windows) or Command+Q (Macintosh), or Control+W (Windows) or Command+W (Macintosh); the Escape key is also supported in Windows.
This property can be tested and set.
Example
This statement sets the exitLock
property to TRUE
:
set the exitLock to TRUE
Example
Assuming that exitLock
is set to TRUE
, nothing occurs automatically when the Control+period/Q/W, Esc, or Command+period/Q/W keys are used. This handler checks keyboard input for keys to exit and takes the user to a custom quit sequence:
on checkExit if the commandDown and (the key = "." or the key = "q") and the exitLock = TRUE then go to frame "quit sequence" end
![]() ![]() ![]() |