Error getting tags :
error 404Error getting tags :
error 404 keyUp | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
keyUp
Basics
Expander triangle
Type
Message
Syntax
keyUp keyname
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent when the user releases a pressed key.
Examples

on keyUp -- play a keyclick sound
-- in this example, the parameter is not needed or used
play audioClip "click"
end keyUp

Additional Comments
Expander triangle

Handle the keyUp message if you want to do something special when the user releases any key (or a particular key you check for in the handler).

Parameters:

The keyName is the actual character of the pressed key.

Comments:

The message is sent to the active (focused) control, or to the current card if no control is focused.

If the key pressed is the Return, Tab, Backspace, Delete, or Enter key, an arrow key, or a function key, no keyUp message is sent.

Cross-platform note: On Mac OS systems, the keyUpmessage is sent after any keyDownhandlers finish executing, whether or not the key has been released. On Unix and Windows systems, the keyUpmessage is sent when the key is released, after the typed character has been added to the current field. To test whether a key is actually being pressed, use the keysDownfunction.

User Comments
Expander triangle