Move many buttons all at same time

JosepM jmyepes at mac.com
Fri Jan 21 06:04:31 EST 2011


Hi,

I'm trying to move some buttons all at the same time but I can't...

Only I get to move one after one.

on mouseUp
   set itemdel to tab
   set the lockMoves to true
   repeat for each line tLinea in fld "f_punts"
      put item 2 of tLinea into tObjecte
      put value(item 1 of tLinea) into tPosicio

      send "ElementMove" && value(tObjecte) & comma & value(tPosicio) to me
in 0 ticks
   end repeat
   set the lockMoves to false

end mouseUp

on ElementMove pObject, pLocationX, pLocationY
   move button pObject of stack "s_tactiques_futbol" to
pLocationX,pLocationY
end ElementMove


Salut,
Josep
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3229365.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list