forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdragMove.xml
More file actions
40 lines (40 loc) · 1.84 KB
/
Copy pathdragMove.xml
File metadata and controls
40 lines (40 loc) · 1.84 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>2323</legacy_id>
<name>dragMove</name>
<type>message</type>
<syntax>
<example>dragMove</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<message tag="dragEnter">dragEnter Message</message>
</references>
<history>
<introduced version="2.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
</classes>
<security>
</security>
<summary>Sent when the user moves the mouse during a <glossary tag="drag and drop">drag and drop</glossary>.</summary>
<examples>
<example>on dragMove <i>-- in a field script</i></p><p><i> -- set the cursor so it shows you can only drop onto a link:</i></p><p> if the textStyle of the mouseChunk contains "link"</p><p> then set the cursor to the ID of image "Drop Here"</p><p> else set the cursor to the ID of image "Dont Drop"</p><p>end dragMove</example>
</examples>
<description>
<p>Handle the <b>dragMove</b> <keyword tag="message box">message</keyword> if you want to perform some action (such as updating a status display) when the user moves the mouse while dragging, or if you want to keep continuous track of the <glossary tag="mouse pointer">mouse pointer's</glossary> position during a <glossary tag="drag and drop">drag and drop</glossary>.</p><p/><p><b>Comments:</b></p><p>The <b>dragMove</b> <keyword tag="message box">message</keyword> is sent to the <keyword tag="control">control</keyword> the <glossary tag="mouse pointer">mouse pointer</glossary> is over, or to the <keyword tag="card">card</keyword> if no <keyword tag="control">control</keyword> is under the <glossary tag="mouse pointer">mouse pointer</glossary>.</p>
</description>
</doc>