forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdragSource.xml
More file actions
44 lines (44 loc) · 2.08 KB
/
Copy pathdragSource.xml
File metadata and controls
44 lines (44 loc) · 2.08 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
<doc>
<legacy_id>1857</legacy_id>
<name>dragSource</name>
<type>function</type>
<syntax>
<example>the dragSource</example>
<example>dragSource()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<function tag="target">target Function</function>
<message tag="dragEnd">dragEnd Message</message>
<message tag="dragDrop">dragDrop Message</message>
</references>
<history>
<introduced version="2.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> the long ID of the <glossary tag="object">object</glossary> that dragged data was dragged from.</summary>
<examples>
<example>the dragSource</example>
<example>if the short name of the dragSource is empty then beep</example>
</examples>
<description>
<p>Use the <b>dragSource</b> <control_st tag="function">function</control_st> to find out which <glossary tag="object">object</glossary>, and which <glossary tag="object type">object type</glossary>, is being dragged from.</p><p/><p><b>Value:</b></p><p>The <b>dragSource</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the long <property tag="ID">ID</property> <glossary tag="property">property</glossary> of the <glossary tag="object">object</glossary>.</p><p/><p>If the drag came from another application, the <b>dragSource</b> returns an application identifier, or empty if the source cannot be determined.</p><p/><p><b>Comments:</b></p><p>The <b>dragSource</b> <control_st tag="function">function</control_st> only <glossary tag="return">returns</glossary> a value while a <glossary tag="drag and drop">drag and drop</glossary> is in progress. Otherwise, the <b>dragSource</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> empty.</p>
</description>
</doc>