openCard

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
openCard
Associationscard
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
on openCard
  select text of field "Search"
end openCard
RelatedKeyword: card
Message: openBackground, openControl, preOpenCard
Object: card
Glossary: object, message, trap
Control Structure: pass
Description

Handle the openCard message to change a card's 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 trapping the message and not allowing it to pass does not prevent the card from appearing.

Tagsnavigation