forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfocusIn.xml
More file actions
46 lines (46 loc) · 1.92 KB
/
Copy pathfocusIn.xml
File metadata and controls
46 lines (46 loc) · 1.92 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
<doc>
<legacy_id>1743</legacy_id>
<name>focusIn</name>
<type>message</type>
<syntax>
<example>focusIn</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<command tag="focus">focus Command</command>
<message tag="resume">resume Message</message>
<message tag="openField">openField Message</message>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary>Sent to a <keyword tag="control">control</keyword> when it becomes <glossary tag="active control">active (focused)</glossary>.</summary>
<examples>
<example>on focusIn <code><i>-- boldface the text of the control</i></code></p><p> set the textStyle of the target to "bold"</p><p>end focusIn</example>
</examples>
<description>
<p>Handle the <b>focusIn</b> <keyword tag="message box">message</keyword> if you want to perform preparation or do other tasks when a control receives the <glossary tag="focus">keyboard focus</glossary>.</p><p/><p><b>Comments:</b></p><p>If the control is an unlocked field or a button whose <b>menuMode</b> is "comboBox", the <message tag="openField">openField</message> <keyword tag="message box">message</keyword> is sent to it instead of the <b>focusIn</b> <keyword tag="message box">message</keyword>.</p><p/><p>A locked field receives the <b>focusIn</b> <keyword tag="message box">message</keyword> when the user tabs to it or otherwise makes it <glossary tag="active control">active (focused)</glossary>, or when text in it is <property tag="selected">selected</property> by a <glossary tag="handler">handler</glossary>.</p>
</description>
</doc>