 |
THE HYPERCARD CENTER |
|
|
Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
cantAbortset [the] cantAbort of stack ¬ to trueOrFalse
The cantAbort property returns or sets whether users can type Command-. (Command-period) to stop any running handlers. It corresponds to the Can’t Abort check box in the Protect Stack dialog box. Use cantAbort to prevent users from canceling certain critical operations that would leave a stack in a confusing or dangerous state. Warning: Use cantAbort with caution. Once cantAbort is set to true, there's no way to halt an errant handler. Set cantAbort to true, and then immediately set it to false when you no longer need it. Examplesset the cantAbort of this stack to true set the cantAbort of this stack to false
Placeholders
stackAn expression that identifies a stack by its name, using one of the following forms: this stack stack text -- name or path name
For example: stack "Home" stack "Simonides:School:References" this stack stack "HD:Stacks:Addresses alias
When used inside a stack script: me When a stack receives a message: [the] target trueOrFalseAny expression that evaluates to the HyperTalk and AppleScript constants true or false . For example: true false the hilite of bg btn "Yes" fld "Zip" contains "95014" the short name of this stack is "Fred"
HyperTalk Reference
|