Error getting tags :
error 404Error getting tags :
error 404 closeCard | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
closeCard
Basics
Expander triangle
Type
Message
Syntax
closeCard
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to the current card when the user goes to another card.
Examples

on closeCard -- record date and time the card was last viewed
-- in a custom property of the card
set the lastAccessDate of the target to the seconds
pass closeCard
end closeCard

Additional Comments
Expander triangle

Handle the closeCard message if you want to perform cleanup or do other tasks when the user leaves a card.

Comments:

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.

User Comments
Expander triangle