LockMoves

Dar Scott dsc at swcp.com
Sun May 18 17:44:07 EDT 2014


This works for me on Mavericks and LC 6.6.1.

on mouseUp
   set the location of graphic "Rectangle" to 100,100
   set the location of graphic "Round Rectangle" to 100,200
   set the location of graphic "Oval" to 100,300
   wait .7 seconds with messages
   set the lockMoves to true
   move graphic "Rectangle" rel 300,0 without waiting
   move graphic "Round Rectangle" rel 300,0 without waiting
   move graphic "Oval" rel 300,0 without waiting
   set the lockMoves to false
end mouseUp

What OS are you using?

Dar

On May 18, 2014, at 6:37 AM, Nakia Brewer <Nakia.Brewer at westrac.com.au> wrote:

> Hi,
> 
> I have a need to move 2 groups at the same time (one menu drops in whilst one drops out).
> 
> I'm currently using the move command to achieve this but they are moving one at a time (second doesn't start until first finishes).. This works okay, objects move relatively smooth etc..
> 
> However
> 
> The dictionary states I can use the locksMoves property to force them to both move at once by setting it true before issuing the moves then setting it to false after they have both been issued. I have tried this solution but it's not moving them, rather just one jump' to the final location...
> 
> Any suggestions on what may be happening or suggestions on alternative solutions?
> 
> 
> 
> 
> 
> Sent from my iPhone
> COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications.
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list