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 pathenterInField.xml
More file actions
46 lines (46 loc) · 2.35 KB
/
Copy pathenterInField.xml
File metadata and controls
46 lines (46 loc) · 2.35 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>1110</legacy_id>
<name>enterInField</name>
<type>message</type>
<syntax>
<example>enterInField</example>
</syntax>
<library></library>
<objects>
<field/>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
</classification>
<references>
<message tag="enterKey">enterKey Message</message>
<message tag="keyDown">keyDown Message</message>
<message tag="returnInField">returnInField Message</message>
<property tag="default">default Property</property>
<property tag="allowKeyInField">allowKeyInField Property</property>
</references>
<history>
<introduced version="1.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<summary>Sent to the <keyword tag="field">field</keyword> with the current <keyword tag="selection">selection</keyword> when the user presses the Enter key.</summary>
<examples>
<example>on enterInField <code><i>-- add up the lines in the current field</i></code></p><p> put sum(replaceText(target,return,comma)) into field "Sum"</p><p>end enterInField</example>
</examples>
<description>
<p>Handle the <b>enterInField</b> <keyword tag="message box">message</keyword> when you want to perform an action when the user presses Enter in a <keyword tag="field">field</keyword>.</p><p/><p><b>Comments:</b></p><p>The Enter key is usually located on the numeric keypad. It is a different key from the Return key (confusingly labeled "Enter" on some keyboards), which is usually located above the right-hand Shift key.</p><p/><p>If the <b>enterInField</b> <glossary tag="handler">handler</glossary> does not <control_st tag="pass">pass</control_st> the <keyword tag="message box">message</keyword> or send it to a further <glossary tag="object">object</glossary> in the <glossary tag="message path">message path</glossary>, the keypress has no effect. <glossary tag="pass">Passing</glossary> the <keyword tag="message box">message</keyword> allows the keypress to have its normal effect.</p><p/><p>If there is no selection or insertion point in any field and the user presses Enter, the <b>enterKey</b> <keyword tag="message box">message</keyword> is sent instead of <b>enterInField</b>.</p>
</description>
</doc>