forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdragSource.lcdoc
More file actions
45 lines (30 loc) · 1.09 KB
/
dragSource.lcdoc
File metadata and controls
45 lines (30 loc) · 1.09 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
Name: dragSource
Type: function
Syntax: the dragSource
Syntax: dragSource()
Summary:
<return|Returns> the long ID of the <object(glossary)> that dragged data
was dragged from.
Introduced: 2.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
the dragSource
Example:
if the short name of the dragSource is empty then beep
Returns:
The <dragSource> <function> <return|returns> the long <ID> <property> of
the <object(glossary)>. If the drag came from another application, the
<dragSource> returns an application identifier, or empty if the source
cannot be determined.
Description:
Use the <dragSource> <function> to find out which <object(glossary)>,
and which <object type>, is being dragged from.
The <dragSource> <function> only <return|returns> a value while a
<drag and drop> is in progress. Otherwise, the <dragSource> <function>
<return|returns> empty.
References: function (control structure), target (function),
property (glossary), return (glossary), object type (glossary),
drag and drop (glossary), object (glossary), dragEnd (message),
dragDrop (message), ID (property)
Tags: ui