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

the keysDown keysDown()

Introduced
1.1
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns a list of the keys currently being pressed.
Examples

the keysDown
if myKey is in the keysDown then exit to top

Additional Comments
Expander triangle

Use the keysDown function to respond to a keypress while a handler is being executed.

Value:

The keysDown function returns a list of keycodes of pressed keys, separated by commas if more than one key is being pressed.

Comments:

The keycodes returned by the keysDown function are the same as those passed as parameters with the rawKeyDown and rawKeyUp messages.

The keysDown function returns empty if no keys are being pressed.

User Comments
Expander triangle