This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathcutKey.xml
More file actions
48 lines (48 loc) · 2.51 KB
/
Copy pathcutKey.xml
File metadata and controls
48 lines (48 loc) · 2.51 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
<doc>
<legacy_id>1066</legacy_id>
<name>cutKey</name>
<type>message</type>
<syntax>
<example>cutKey</example>
</syntax>
<library></library>
<objects>
<field/>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<command tag="delete">delete Command</command>
<message tag="backspaceKey">backspaceKey Message</message>
<message tag="copyKey">copyKey Message</message>
<command tag="cut">cut Command</command>
<message tag="pasteKey">pasteKey Message</message>
<message tag="undoKey">undoKey Message</message>
<message tag="deleteKey">deleteKey Message</message>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<summary>Sent when the user presses the <glossary tag="key combination">key combination</glossary> equivalent to the Cut <glossary tag="menu item">menu item</glossary>.</summary>
<examples>
<example>on cutKey</p><p> if word 1 of the focusedObject is "card" then</p><p> answer error "Cannot cut a card."</p><p> else pass cutKey</p><p>end cutKey</example>
</examples>
<description>
<p>Handle the <b>cutKey</b> <keyword tag="message box">message</keyword> if you want to change the normal cut process, or prevent use of the Cut <glossary tag="keyboard equivalent">keyboard equivalent</glossary> without changing the menu.</p><p/><p><b>Comments:</b></p><p>The LiveCode development environment traps the <b>cutKey</b> <keyword tag="message box">message</keyword>. This means that the <b>cutKey</b> <keyword tag="message box">message</keyword> is not received by a <object tag="stack">stack</object> if it's running in the <glossary tag="development environment">development environment</glossary>, To test a <b>cutKey</b> <glossary tag="handler">handler</glossary>, choose Development menu<img src="202656"/>Suspend Development Tools<important/>.</p><p/><p><b>cutKey</b> <keyword tag="message box">message</keyword> is sent when the user presses Command-X (on <glossary tag="Mac OS">Mac OS systems</glossary>), Control-X (on <glossary tag="Windows">Windows systems</glossary>), Shift-Delete (on <glossary tag="Unix">Unix systems</glossary>), or the keyboard Cut key.</p><p/><p>The message is sent to the active (focused) control, or to the current card if no control is focused.</p>
</description>
</doc>