``` deleteBackground ```
Handler:

``` on deleteBackground statements end deleteBackground ```
HyperCard sends the deleteBackground message to the card that is being deleted if no other cards in the stack share its background. HyperCard sends the message just before the card disappears.

Note: You cannot stop a background from being deleted by trapping the deleteBackground message. Instead, you must handle the doMenu message or set the cantDelete property for the background.