Moving 2 things at once . . .

dunbarx dunbarx at aol.com
Mon Aug 22 12:19:10 EDT 2016


Richmond.

I had posted this to a thread in the forums a few months back. On a new card
make a button and four fields. in the buttons script:

on mouseUp
   put 10 into moveTime
   lock moves
   repeat with i=1 to 4
      move fld i relative "0,60" in moveTime without waiting
   end repeat
   unlock moves
   wait moveTime with messages
   lock moves
    repeat with i=1 to 4
       move fld i  relative "0,-60" in moveTime without waiting
       end repeat
end mouseUp




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Moving-2-things-at-once-tp4707694p4707696.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the Use-livecode mailing list