Error getting tags :
error 404Error getting tags :
error 404 deleteBackground | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
deleteBackground
Basics
Expander triangle
Type
Message
Syntax
deleteBackground
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to a group just before it is removed from the stack.
Examples

on deleteBackground
beep 2 -- warn user
pass deleteBackground
end deleteBackground

Additional Comments
Expander triangle

Handle the deleteBackground message if you want to perform cleanup before a group is removed from the stack.

Comments:

The actual deletion is not triggered by the deleteBackground message, so trapping the message and not allowing it to pass does not prevent the group from being removed.

Deleting the last card on which a group appears does not remove the group from the stack, so it does not cause a deleteBackground message to be sent.

Ungrouping a group does not cause a deleteBackground message to be sent.

A deleteGroup message is sent before the deleteBackground message. (The deleteBackground message is included for compatibility with HyperCard.)

User Comments
Expander triangle