forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrolKey.xml
More file actions
47 lines (47 loc) · 1.79 KB
/
Copy pathcontrolKey.xml
File metadata and controls
47 lines (47 loc) · 1.79 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
47
<doc>
<legacy_id>1346</legacy_id>
<name>controlKey</name>
<type>function</type>
<syntax>
<example>the controlKey</example>
<example>controlKey()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
<synonym>ctrlKey</synonym>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<constant tag="left">left Constant</constant>
<constant tag="up">up Constant</constant>
<function tag="keysDown">keysDown Function</function>
<message tag="commandKeyDown">commandKeyDown Message</message>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> the state of the Control key.</summary>
<examples>
<example>put (the controlKey is up) and (the shiftKey is up) into ctrlShift</example>
<example>if controlKey() is down then go back</example>
</examples>
<description>
<p>Use the <b>controlKey</b> <control_st tag="function">function</control_st> to check whether the user is pressing the Control key.</p><p/><p><b>Value:</b></p><p>The <b>controlKey</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> <constant tag="down">down</constant> if the key is pressed and <constant tag="up">up</constant> if it's not.</p><p/><p>On Unix and Windows systems, the <b>commandKey</b> function <glossary tag="return">returns</glossary> the same value as the <b>controlKey</b> <control_st tag="function">function</control_st>: the two <glossary tag="function">functions</glossary> are synonyms.</p>
</description>
</doc>