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

drag [button number] from start to end [with key [,key [key]]]

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Simulates a mouse click and drag.
Examples

drag from "120,89" to "180,2" with commandKey
drag from the clickLoc to the loc of button "Trash"
drag button 2 from "500,200" to savedLoc with shiftKey,optionKey

Additional Comments
Expander triangle

Use the drag command to paint with the paint tools.

Parameters:

The number is the number of a mouse button. If you don't specify a number, button 1 is used.

The start is any expression that evaluates to a point--a vertical and horizontal distance from the top left of the current stack, separated by a comma.

The end is any expression that evaluates to a point.

The key is one of commandKey, controlKey, optionKey, or shiftKey. You can specify up to three keys, separated by commas. (On Windows and Unix, commandKey indicates the Control key.)

Comments:

You can use the drag command to move a control, but it is more efficient to use the move command instead.

The dragSpeed property determines how fast the drag motion is.

User Comments
Expander triangle
User thumbnail
Craig Newman (dunbarx)
StarStarStarStarStar
Oct 21, 2010
Multiple stable sorts may be implemented directly by concatenating sortKeys:
sort by sortKey1 & sortKey2 & sortKey3...
Sortkey order determines the sorting sequence