forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdragDestination.lcdoc
More file actions
32 lines (18 loc) · 1.15 KB
/
Copy pathdragDestination.lcdoc
File metadata and controls
32 lines (18 loc) · 1.15 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
Name: dragDestination
Type: function
Syntax: the dragDestination
Syntax: dragDestination()
Summary: <return|Returns> the long ID of the <object(glossary)> that dragged data was dropped on.
Introduced: 2.0
OS: mac,windows,linux
Platforms: desktop,server
Example:
the dragDestination
Example:
put the rect of the dragDestination into whereWeDragged
Returns: The <dragDestination> <function> <return|returns> the long <ID> <property> of the <object(glossary)>.
Description:
Use the <dragDestination> <function> to determine which <object(glossary)> received a <drag and drop>.
The <dragDestination> function only <return|returns> a value while a <dragDrop> <handler> is being <execute|executed>: that is, you can use it in a <dragDrop> <handler>, or in a <handler> that's called by a <dragDrop> <handler>. If called from another <handler>, the <dragDestination> <function> <return|returns> empty.
References: function (control structure), ID (property), dragEnd (message), dragDrop (message), dropChunk (function), target (function), handler (glossary), property (glossary), return (glossary), execute (glossary), drag and drop (glossary), object (glossary)
Tags: ui