resume

Sent to the current card when the application is brought to the foreground.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 2.0 Security:

# Syntax

resume

# Examples

on resume show stack "Toolbar" end resume

# Description

Handle the resume message if you want to perform some action when the application is made active.

The resume message is sent whenever the user switches back to the application from another program.

The actual switch is not triggered by the resume message, so trap the message and not allowing it to pass does not prevent the user from switching into the application.

# Tags

# See

- **control structure:** pass - **message:** focusIn, suspend, startup, openStack, resumeStack - **glossary:** application, current card, message, trap