Error getting tags :
error 404Error getting tags :
error 404 controlKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
controlKey
Basics
Expander triangle
Type
Function
Syntax

the controlKey

controlKey()

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the state of the Control key.
Examples

put (the controlKey is up) and (the shiftKey is up) into ctrlShift
if controlKey() is down then go back

Additional Comments
Expander triangle

Use the controlKey function to check whether the user is pressing the Control key.

Value:

The controlKey function returns down if the key is pressed and up if it's not.

On Unix and Windows systems, the commandKey function returns the same value as the controlKey function: the two functions are synonyms.

User Comments
Expander triangle