openCard

Sent to a card right after you go to the card.

# Metadata

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

# Syntax

openCard

# Examples

on openCard select text of field "Search" end openCard

# Description

Handle the openCard message to change a card objects, or perform other updates, when the card is visited.

The openCard message is sent after the destination card is visible. To make changes that take effect before the card becomes visible on the screen, use the preOpenCard message instead.

The actual navigation is not triggered by the openCard message, so trap the message and not allowing it to pass does not prevent the card from appearing.

# Tags

# See

- **keyword:** card - **message:** openBackground, openControl, preOpenCard - **object:** card - **glossary:** object, message, trap - **control structure:** pass