Error getting tags :
error 404Error getting tags :
error 404 lockMoves | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
lockMoves
Basics
Expander triangle
Type
Property
Syntax
set the lockMoves to {true | false}
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies whether the motion of objects moved by the move command is seen immediately or delayed.
Examples

set the lockMoves to true

Additional Comments
Expander triangle

Use the lockMoves property to synchronize object movements.

Value:

The lockMoves is true or false.

By default, the lockMoves property is set to false. It is reset to false when no handlers are executing.

Comments:

If the lockMoves property is set to true, when you use the move command to move an object around the screen, the movement does not become visible until the lockMoves is set to false. You can set the lockMoves property to true, start several objects moving, then set the lockMoves to false to begin the motion, as in the following example:

on mouseUp

set the lockMoves to true

move button 1 to 300,200 in 2 seconds -- doesn't move yet

move field 2 to 0,0 in 2 seconds -- doesn't move yet

move graphic 3 to 0,400 in 2 seconds -- doesn't move yet

set the lockMoves to false -- all three objects start moving

end mouseUp

If the lockMoves is false, the movement takes place immediately.

User Comments
Expander triangle