forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathacceptDrop.xml
More file actions
40 lines (40 loc) · 1.42 KB
/
Copy pathacceptDrop.xml
File metadata and controls
40 lines (40 loc) · 1.42 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
<doc>
<legacy_id>2405</legacy_id>
<name>acceptDrop</name>
<type>property</type>
<syntax>
<example>set the acceptDrop to {true | false}</example>
</syntax>
<library></library>
<objects>
<global/>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<message tag="dragEnd">dragEnd Message</message>
</references>
<history>
<introduced version="2.0">Added.</introduced>
<removed version="2.9">No longer present.</removed>
</history>
<platforms>
</platforms>
<classes>
<desktop/>
<web/>
</classes>
<security>
</security>
<summary>Specifies whether a drop will be accepted during a <glossary tag="drag and drop">drag and drop</glossary>. <b>Deprecated</b></summary>
<examples>
<example>set the acceptDrop to true</example>
<example>if word 1 of the target is "button" then set the acceptDrop to false</example>
</examples>
<description>
<p>The <b>acceptDrop</b> property is deprecated as of version 2.9. Setting the <b>acceptDrop</b> to true is equivalent to setting the dragAction to "copy".</p><p/><p>In previous versions, setting the <b>acceptDrop</b> <glossary tag="property">property</glossary> in an <glossary tag="object">object's</glossary> <message tag="dragEnter">dragEnter</message> <glossary tag="handler">handler</glossary> allowed it to accept drops.</p>
</description>
</doc>