unlock colorMap

Sets the lockColorMap property to false, causing the screen to be redraw with the new color table every time the color table is changed.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

unlock colorMap

# Examples

unlock colorMap

if the screenDepth <= 4 then unlock colorMap

# Description

Use the unlock colorMap command to allow the color table to change to accommodate newly displayed images and movies.

When all pending handlers are finished executing, the lockColorMap property is set to false automatically.

# Tags

ui,

# See

- **property:** lockColorMap - **command:** unlock screen, unlock cursor, lock colorMap - **function:** screenDepth, screenColors - **glossary:** property, redraw, command, color table - **object:** image