lock messages | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Sets the lockMessages property to true, preventing setProp triggers, getProp calls, and certain messages from being sent. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Property: lockMessages Message: openStack Command: revUpdateGeometry, lock moves, lock recent, unlock messages, lock error dialogs, lock screen, revCacheGeometry Object: stack Glossary: property, getProp call, navigation message, handler, setProp trigger, message, command |
Description | Use the lock messages command when a handler performs an action (such as opening a stack) and you want to speed up access by preventing unnecessary navigation messages (such as openStack) from being sent. The lock messages command sets the lockMessages property to true. When all pending handlers are finished executing, the lockMessages property is set back to false. |
Tags | objects,messages |