backspaceKey

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
backspaceKey
Associationscard, field
Summary

Sent to the active control, or to the current card if no control is focused.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
on backspaceKey -- in the script of a field
-- clear the whole field instead of removing one character:
  put empty into me
end backspaceKey
RelatedKeyword: control
Glossary: current card, active control, focus
Message: cutKey, deleteKey
Description

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".

Tagsui