forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclickV.xml
More file actions
46 lines (46 loc) · 1.95 KB
/
Copy pathclickV.xml
File metadata and controls
46 lines (46 loc) · 1.95 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
45
46
<doc>
<legacy_id>2260</legacy_id>
<name>clickV</name>
<type>function</type>
<syntax>
<example>the clickV</example>
<example>clickV()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<function tag="mouseV">mouseV Function</function>
<function tag="clickH">clickH Function</function>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> the vertical position of the most recent mouse click.</summary>
<examples>
<example>the clickV</example>
<example>if the clickV > the bottom of stack window then beep</example>
</examples>
<description>
<p>Use the <b>clickV</b> <control_st tag="function">function</control_st> to find out where the user last clicked.</p><p/><p><b>Value:</b></p><p>The <b>clickV</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a positive <keyword tag="integer">integer</keyword>.</p><p/><p><b>Comments:</b></p><p>The returned value is the vertical distance in pixels from the top edge of the clicked stack to the location of the click. (Use the <b>clickStack</b> function to identify which <object tag="stack">stack</object> was clicked.)</p><p/><p>The click location is the position of the mouse pointer when the user pressed the mouse button, not when the user released the button. In particular, inside a mouseDown handler, the <b>clickV</b> returns the position of the mouse as it was when the mouseDown action occured.</p><p/><p>This function is equal to item 2 of the <b>clickLoc</b> <control_st tag="function">function</control_st>.</p>
</description>
</doc>