Home THE HYPERCARD CENTER

HyperTalk Reference
Home » HyperTalk Reference » System messages

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

closeStack

closeStack


Handler:


on closeStack
    statements
end closeStack


HyperCard sends the closeStack message to the current card when a user (or script) opens a different stack in the current window, closes the current window, deletes the stack, suspends HyperCard to launch an application, or quits HyperCard.


Note: If you have more than one stack open at a time, HyperCard sends suspendStack, not closeStack, when the stack becomes inactive.


Placeholders

statements
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.

put "Hello world"   -- built-in command
get total(field 1)  -- function call
global HelpInfo     -- keyword


Related Topics

« closeField | HyperTalk Reference | deleteBackground »


Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Modern View

Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » System messages

Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.

closeStack

closeStack


Handler:


on closeStack
    statements
end closeStack


HyperCard sends the closeStack message to the current card when a user (or script) opens a different stack in the current window, closes the current window, deletes the stack, suspends HyperCard to launch an application, or quits HyperCard.


Note: If you have more than one stack open at a time, HyperCard sends suspendStack, not closeStack, when the stack becomes inactive.


Placeholders

statements
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.

put "Hello world"   -- built-in command
get total(field 1)  -- function call
global HelpInfo     -- keyword


Related Topics

« closeField | HyperTalk Reference | deleteBackground »

Version 0.7b1 (March 24, 2022)

Made with Macintosh

Switch to Retro View