forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrolKey.lcdoc
More file actions
41 lines (26 loc) · 903 Bytes
/
controlKey.lcdoc
File metadata and controls
41 lines (26 loc) · 903 Bytes
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
Name: controlKey
Synonyms: ctrlkey
Type: function
Syntax: the controlKey
Syntax: controlKey()
Summary:
<return|Returns> the state of the Control key.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
put (the controlKey is up) and (the shiftKey is up) into ctrlShift
Example:
if controlKey() is down then go back
Returns:
The <controlKey> <function> <return|returns> <down>
if the key is pressed and <up> if it's not. On Unix and Windows systems,
the <commandKey> <function> <return|returns> the same value as the
<controlKey> <function>: the two <function|functions> are synonyms.
Description:
Use the <controlKey> <function> to check whether the user is pressing
the Control key.
References: down (constant), left (constant), up (constant),
commandKey (function), keysDown (function), return (glossary),
function (glossary), commandKeyDown (message)
Tags: ui