unlock screen

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
unlock screen [with visual [effect] <effectName> [<speed>] [to <finalImage>] [with sound <audioClip>]]
Summary

Sets the lockScreen property to false, updating the screen and displaying any changes made since the screen was locked.

Introduced1.0
Changes

From LiveCode version 8.1 for Mac, the use of QuickTime is deprecated with new defaults for dontUseQT and dontUseQTEffects being set to true on all systems from macOS 10.8. Additionally QuickTime does not include 64 bit support and therefore can not be supported on macOS 64-bit builds of LiveCode. Also, the Windows build of LiveCode version 8.1 deprecates all QuickTime features, so setting dontUseQT and dontUseQTEffects will have no effect.

OSmac, windows, linux, ios, android
Platformsdesktop, mobile
Parameters
NameTypeDescription
effectName

Works as described in the visual effect command.

speed

Works as described in the visual effect command.

finalImage

Works as described in the visual effect command.

audioClip

Works as described in the visual effect command.

Example
lock screen
hide image 1
unlock screen
lock screen for visual effect
hide image 1
show control 1
unlock screen with visual effect dissolve
lock screen
show field 1
unlock screen with visual barn door open to white with sound "Yelp"
RelatedProperty: allowFieldRedraw, dontUseQT, dontUseQTEffects, lockScreen
Glossary: command, execute, handler, lock, property, QuickTime
Command: lock screen, unlock colorMap, unlock cursor, unlock error dialogs, unlock moves, unlock recent, visual effect
Description

Use the unlock screen command to allow changes to the screen appearance to be seen.

The unlock screen command sets the lockScreen property to false. When all pending handlers are finished executing, the lockScreen property is automatically set to false.

Tagsui