releaseStack

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
releaseStack
Associationsstack
Summary

Sent to a stack when the stack is removed from the message path with the stop using command.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
on releaseStack
  -- turn off a checkbox to show that this stack is no longer in use
  set the hilite of button (the short name of the target) \
     of card "Libraries" to false
end releaseStack
RelatedProperty: stacksInUse
Message: libraryStack
Command: stop using, start using
Object: stack
Glossary: message, command, execute, message path
Description

Handle the releaseStack message if you want to perform some task or set a configuration when a stack is no longer in use.

The releaseStack message is sent to the stack being released with the stop using command, even if the stack was not in use before the stop using command was executed.

Tagsobjects