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 pathdropChunk.xml
More file actions
45 lines (45 loc) · 3.07 KB
/
Copy pathdropChunk.xml
File metadata and controls
45 lines (45 loc) · 3.07 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
<doc>
<legacy_id>1923</legacy_id>
<name>dropChunk</name>
<type>function</type>
<syntax>
<example>the dropChunk</example>
<example>dropChunk()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>User Interaction</category>
<category>Text and Data Processing</category>
</classification>
<references>
<function tag="clickChunk">clickChunk Function</function>
<function tag="dragDestination">dragDestination Function</function>
<message tag="dragDrop">dragDrop Message</message>
<function tag="mouseChunk">mouseChunk Function</function>
</references>
<history>
<introduced version="2.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
</platforms>
<classes>
<desktop/>
<server/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> a <glossary tag="chunk expression">chunk expression</glossary> describing the location in the <keyword tag="field">field</keyword> where data was dropped.</summary>
<examples>
<example>the dropChunk</example>
<example>select the dropChunk</example>
</examples>
<description>
<p>Use the <b>dropChunk</b> <control_st tag="function">function</control_st> within a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary> to find out exactly where text was dropped into a <keyword tag="field">field</keyword>.</p><p/><p><b>Value:</b></p><p>The <b>dropChunk</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a <glossary tag="chunk expression">chunk expression</glossary> of the form char <i>followingChar</i> to <i>precedingChar</i> of field <i>fieldNumber</i>. The <i>followingChar</i> is always one less than the <i>precedingChar</i>.</p><p/><p><b>Comments:</b></p><p>The <b>dropChunk</b> <control_st tag="function">function</control_st> only <glossary tag="return">returns</glossary> a value while a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary> is being <glossary tag="execute">executed</glossary>: that is, you can use it in a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary> or in a <glossary tag="handler">handler</glossary> that's called by a <message tag="dragDrop">dragDrop</message> <glossary tag="handler">handler</glossary>. If called from another <glossary tag="handler">handler</glossary>, the <b>dropChunk</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> empty.</p><p/><p>The <b>dropChunk</b> <control_st tag="function">function</control_st> designates an <glossary tag="insertion point">insertion point</glossary> rather than a run of characters. For example, if you drop text between <keyword tag="characters">characters</keyword> 3 and 4 of <keyword tag="field">field</keyword> number 1, the <function tag="dropChunk">dropChunk</function> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> "char 4 to 3 of field 1".</p>
</description>
</doc>