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
37 lines (24 loc) · 834 Bytes
/
Copy pathbackspaceKey.lcdoc
File metadata and controls
37 lines (24 loc) · 834 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
31
32
33
34
35
36
Name: backspaceKey
Type: message
Syntax: backspaceKey
Summary:
Sent to the <active control(glossary)>, or to the <current card> if no
<control> is <focus|focused>.
Associations: card, field
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, 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
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: current card (glossary), active control (glossary),
focus (glossary), control (keyword), cutKey (message),
deleteKey (message)
Tags: ui