Error getting tags :
error 404Error getting tags :
error 404 deleteKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
deleteKey
Basics
Expander triangle
Type
Message
Syntax
deleteKey
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to the active (focused) control, or to the current card if there is no active control.
Examples

on deleteKey -- clear the entire field
if word 1 of the name of the target is "field" then
put empty into the target
end if
end deleteKey

Additional Comments
Expander triangle

Handle the deleteKey message if you want to do something special when the user presses the forward delete key.

Comments:

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

The forward delete key is not the same as the backspace or delete key:

* The forward delete key is usually to the right of the main keyboard layout, and may be labeled with the word "Delete" or a left-facing arrow. Pressing it sends a deleteKey message.

* The backspace key is usually on the main keyboard above the Return key, and is may be labeled "Backspace" or "Delete". Pressing it sends a backspaceKey message.

User Comments
Expander triangle