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
34 lines (20 loc) · 1.05 KB
/
dragSource.lcdoc
File metadata and controls
34 lines (20 loc) · 1.05 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
Name: dragSource
Type: function
Syntax: the dragSource
Syntax: dragSource()
Summary: <return|Returns> the long ID of the <object> 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>.
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>, 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_st), ID (property), dragEnd (message), dragDrop (message), target (function), property (glossary), return (glossary), object type (glossary), drag and drop (glossary), object (object)
Tags: ui