lockMessages | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Specifies whether setProp triggers, getProp calls, and certain built-in messages are sent automatically. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Message: newButton, closeStack Command: reset, lock messages, modal, modeless, palette Object: stack Glossary: message, property, getProp call, built-in message, handler, setProp trigger, trigger, execute | ||||||
Description | Use the lockMessages property to prevent unwanted handlers from being triggered, or to speed up operations when handlers that are normally run automatically are not needed. If the lockMessages property is set to true, the following are not sent:
It is useful to set this property if a handler temporarily visits a card and you don't want the normal messages to be triggered. The lockMessages property is automatically set to false when a palette, modeless, or modal stack is opened, even if a handler is still running. | ||||||
Tags | objects,messages |