Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
set [the] lockMessages to trueOrFalse
The lockMessages
property returns or sets whether HyperCard sends certain messages automatically.
The messages affected are closeCard
, closeBackground
, closeStack
, openCard
, openBackground
, openStack
, resumeStack
, and suspendStack
.
Setting lockMessages
to true is useful when you want to go to a card to retrieve or save information, but you don’t want to stay there. (The handler will run faster with lockMessages
set to true.)
The default setting is false, meaning that HyperCard does send the messages. HyperCard sets lockMessages
to false on idle.
Any expression that evaluates to the HyperTalk and AppleScript constants true
or false
.
For example: