closeCard | |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | card |
Summary | Sent to the current card when the user goes to another card. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Keyword: card Message: closeStack, shutdown, closeBackground, preOpenCard Glossary: trap, current card, message Control Structure: pass |
Description | Handle the closeCard message if you want to perform cleanup or do other tasks when the user leaves a card. A card is closed when the user either goes to another card in the same stack, or closes the stack. The actual navigation is not triggered by the closeCard message, so trapping the message and not allowing it to pass does not prevent the card from closing. |
Tags | navigation |