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 pathfocus.xml
More file actions
executable file
·81 lines (67 loc) · 4.26 KB
/
Copy pathfocus.xml
File metadata and controls
executable file
·81 lines (67 loc) · 4.26 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<doc>
<legacy_id>1140</legacy_id>
<name>focus</name>
<type>command</type>
<syntax>
<example>focus [on] <i>object</i></example>
<example>focus on nothing</example>
</syntax>
<synonyms>
</synonyms>
<summary>Places the <glossary tag="insertion point">insertion point</glossary> in a <keyword tag="field">field</keyword>, makes a <keyword tag="control">control</keyword> active, or removes focus from all controls.</summary>
<examples>
<example>focus on field 1</example>
<example>focus on the mouseControl</example>
<example><p>focus on graphic "Move Me"</p></example>
<example>focus on nothing</example>
</examples>
<history>
<introduced version="1.0">Added.</introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
<experimental version=""></experimental>
<nonexperimental version=""></nonexperimental>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<classification>
<category>User Interaction</category>
</classification>
<references>
<function tag="focusedObject">focusedObject Function</function>
<function tag="mouseStack">mouseStack Function</function>
<command tag="select">select Command</command>
<property tag="focusColor">focusColor Property</property>
<property tag="focusPattern">focusPattern Property</property>
<property tag="lockText">lockText Property</property>
<property tag="lookAndFeel">lookAndFeel Property</property>
<property tag="showFocusBorder">showFocusBorder Property</property>
<property tag="selected">selected Property</property>
<property tag="traversalOn">traversalOn Property</property>
<message tag="enterKey">enterKey Message</message>
<message tag="focusIn">focusIn Message</message>
<message tag="keyDown">keyDown Message</message>
<message tag="keyUp">keyUp Message</message>
<message tag="returnKey">returnKey Message</message>
<message tag="tabKey">tabKey Message</message>
<message tag="mouseWithin">mouseWithin Message</message>
<message tag="mouseLeave">mouseLeave Message</message>
<message tag="focusOut">focusOut Message</message>
</references>
<description>Use the <b>focus</b> <glossary tag="command">command</glossary> to make a <keyword tag="control">control</keyword> active--that is, to make it receive any keystrokes the user types.<p></p><p><b>Parameters:</b></p><p>The <i>object</i> is any <glossary tag="object">object</glossary> on the <glossary tag="current card">current card</glossary>.</p><p></p><p><b>Comments:</b></p><p>If the object's <b>traversalOn</b> <glossary tag="property">property</glossary> is false, it cannot receive the <command tag="focus">focus</command>, and the <b>focus</b> <glossary tag="command">command</glossary> causes an <glossary tag="error">error</glossary>.</p><p></p><p>If the <b>lookAndFeel</b> is set to "Motif", the <glossary tag="active control">focused control</glossary> is outlined, and the <keyword tag="control">control</keyword> receives any keystrokes (and the <glossary tag="message">messages</glossary> associated with them).</p><p></p><p>If the <b>lookAndFeel</b> is set to "Appearance Manager" or "Macintosh", an outline is drawn around <glossary tag="field">fields</glossary>, <glossary tag="image">images</glossary>, and <glossary tag="EPS">EPS objects</glossary> whose <property tag="showFocusBorder">showFocusBorder</property> <glossary tag="property">property</glossary> is set to true. Otherwise, the <glossary tag="appearance">appearance</glossary> of the <glossary tag="active control">focused control</glossary> does not change, but it receives keystroke <glossary tag="message">messages</glossary>.</p><p></p><p>If the <b>lookAndFeel</b> is set to "Windows 95", a dotted outline is drawn within <glossary tag="button">buttons</glossary> when they receive the <command tag="focus">focus</command>.</p><p></p><p>If the <i>object</i> is an <glossary tag="unlock">unlocked</glossary> <keyword tag="field">field</keyword>, the <glossary tag="insertion point">insertion point</glossary> is placed after the text in the <keyword tag="field">field</keyword>.</p><p></p><p>Use the <b>focus on nothing</b> command to remove focus from all objects on a card.</p></description>
</doc>