forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackspaceKey.lcdoc
More file actions
30 lines (18 loc) · 835 Bytes
/
Copy pathbackspaceKey.lcdoc
File metadata and controls
30 lines (18 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Name: backspaceKey
Type: message
Syntax: backspaceKey
Summary: Sent to the <active (focused) control(glossary)>, or to the <current card> if no <control> is <focus|focused>.
Associations: button
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,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
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".
References: control (keyword), cutKey (message), deleteKey (message), current card (glossary), active control (glossary), focus (glossary)
Tags: ui