Error getting tags :
error 404Error getting tags :
error 404 dropChunk | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
dropChunk
Basics
Expander triangle
Type
Function
Syntax

the dropChunk

dropChunk()

Introduced
2.0
Environment
Desktop,Server
Platform Support
MacOS,Mac OS X,Windows
Security
None required
Summary
Returns a chunk expression describing the location in the field where data was dropped.
Examples

the dropChunk
select the dropChunk

Additional Comments
Expander triangle

Use the dropChunk function within a dragDrop handler to find out exactly where text was dropped into a field.

Value:

The dropChunk function returns a chunk expression of the form char followingChar to precedingChar of field fieldNumber. The followingChar is always one less than the precedingChar.

Comments:

The dropChunk function only returns a value while a dragDrop handler is being executed: that is, you can use it in a dragDrop handler or in a handler that's called by a dragDrop handler. If called from another handler, the dropChunk function returns empty.

The dropChunk function designates an insertion point rather than a run of characters. For example, if you drop text between characters 3 and 4 of field number 1, the dropChunk function returns "char 4 to 3 of field 1".

User Comments
Expander triangle