suspend | |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | card |
Summary | Sent to the current card when the application moves to the background. |
Introduced | 2.0 |
OS | mac, windows, linux |
Platforms | desktop, server |
Example |
|
Related | Control Structure: pass Message: resume, shutdown, suspendStack Glossary: application, current card, message, trap |
Description | Handle the suspend message if you want to perform some action when the application is made inactive. The suspend message is sent whenever the user switches to another program. The actual switch is not triggered by the suspend message, so trapping the message and not allowing it to pass does not prevent the user from switching out of the application. |