lock colorMap | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Sets the lockColorMap property to true, preventing the screen from being redrawn when the color table is changed. |
Introduced | 1.0 |
OS | mac, windows, linux |
Platforms | desktop, server |
Example |
|
Related | Property: lockColorMap Command: unlock colorMap, lock cursor, lock screen Object: image Glossary: property, redraw, undo, command, color table |
Description | Use the lock colorMap command to prevent screen flashing when images and movies appear on a screen set to 256 or fewer colors. The lock colorMap command sets the lockColorMap property to true. When all pending handlers are finished executing, the lockColorMap property is set back to false, undoing the lock colorMap command's action. |
Tags | ui |