Deutsches LiveCode Wiki
Advertisement

Sent to the active (focused) control(glossary), or to the current card if no control is focused.Syntax:

backspaceKey

Examples:

on backspaceKey -- in the script of a field
-- clear the whole field instead of removing one character:
  put empty into me
end backspaceKey

Handle the backspaceKey message if you want to do something special when the user presses the Backspace key.

The Backspace key is not the same as the Forward Delete key. On some keyboards, the Backspace key is labeled "Delete".

See also: cutKey (message),deleteKey (message),

Advertisement