This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathdeleteBackground.xml
More file actions
45 lines (45 loc) · 2.21 KB
/
Copy pathdeleteBackground.xml
File metadata and controls
45 lines (45 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<doc>
<legacy_id>2465</legacy_id>
<name>deleteBackground</name>
<type>message</type>
<syntax>
<example>deleteBackground</example>
</syntax>
<library></library>
<objects>
<group/>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Objects & Messages</category>
</classification>
<references>
<command tag="delete">delete Command</command>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary>Sent to a <command tag="group">group</command> just before it is removed from the <object tag="stack">stack</object>.</summary>
<examples>
<example>on deleteBackground</p><p> beep 2 <code><i>-- warn user</i></code></p><p> pass deleteBackground</p><p>end deleteBackground</example>
</examples>
<description>
<p>Handle the <b>deleteBackground</b> <keyword tag="message box">message</keyword> if you want to perform cleanup before a <command tag="group">group</command> is removed from the <object tag="stack">stack</object>.</p><p/><p><b>Comments:</b></p><p>The actual deletion is not triggered by the <b>deleteBackground</b> <keyword tag="message box">message</keyword>, so <glossary tag="trap">trapping</glossary> the <keyword tag="message box">message</keyword> and not allowing it to <control_st tag="pass">pass</control_st> does not prevent the <command tag="group">group</command> from being removed.</p><p/><p>Deleting the last card on which a group appears does not remove the group from the stack, so it does not cause a <b>deleteBackground</b> <keyword tag="message box">message</keyword> to be sent.</p><p/><p>Ungrouping a group does not cause a <b>deleteBackground</b> <keyword tag="message box">message</keyword> to be sent.</p><p/><p>A <b>deleteGroup</b> <keyword tag="message box">message</keyword> is sent before the <b>deleteBackground</b> <keyword tag="message box">message</keyword>. (The <b>deleteBackground</b> <keyword tag="message box">message</keyword> is included for compatibility with HyperCard.)</p>
</description>
</doc>