lock error dialogs | |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Sets the lockErrorDialogs property to true, preventing the error window from being displayed when an execution error occurs. |
Introduced | 1.0 |
OS | mac, windows, linux |
Platforms | desktop, server |
Example |
|
Related | Property: lockErrorDialogs Message: errorDialog Command: lock messages, unlock error dialogs Glossary: object, property, handler, message, command, handle, execution error |
Description | Use the lock error dialogs command to handle execution errors in a custom handler, rather than allowing LiveCode to display the standard error window. The lock error dialogs command sets the lockErrorDialogs property to true. If an execution error occurs while the lockErrorDialogs property is set to true, an errorDialog message is sent to the object whose handler set the lockErrorDialogs to true. When all pending handlers are finished executing, the lockErrorDialogs property is set back to false, undoing the lock error dialogs command's action. |