deleteStack | |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | card |
Summary | Sent to the current card of a stack that's about to be deleted. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Property: destroyWindow, cantDelete Message: newStack Command: delete stack Object: stack Glossary: trap, stack file, current card, message, command Control Structure: pass |
Description | Handle the deleteStack message if you want to perform cleanup before a stack is deleted from its stack file. The actual deletion is not triggered by the deleteStack message, so trapping the message and not allowing it to pass does not prevent the stack from being removed. If a stack's file is deleted with the delete file command (or by the user), and the stack itself is not open, no deleteStack message is sent. |
Tags | objects |