Re: Move many buttons all at same time

2011-01-23 Thread JosepM
Hi Malte, The outer repeat loop is for perform the movement of the buttons, I have X buttons that move from a initial position to a position-1, then when all the X buttons finish the movement, all move to position-2, position-3, position-n until the last position. But all the buttons must perform

Re: Move many buttons all at same time

2011-01-22 Thread Malte Brill
Hi Josep, a few questions if I may: why the outer repeat loop? What is in fld " "f_punts" ? How exactly do you want your objects to move? aeMoveTo moves objects from their current position to the endposition you specify. All the best, Malte ___ use

Re: Move many buttons all at same time

2011-01-21 Thread JosepM
Hi, Yes, now they are moving at same time but from the step 1 to step 4 directly... I have a group of steps that each button must go. But only I get move from step 1 to step 4. I read 4 times the 6 buttons locations, but I don't see why not work :( set itemdel to tab repeat with x=0 to 4

Re: Move many buttons all at same time

2011-01-21 Thread Malte Brill
Hi Josep (an all), Taking up Anthonys suggestion, here is a quick animationEngine version. create a stack, many buttons name one of the buttons "doIt" set the script of btn "doIt" to on mouseUp pMouseBtnNo if "animationEngine" is not among the lines of the stacksInUse then answer "Th

Re: Move many buttons all at same time

2011-01-21 Thread René Micout
Elegant ! Le 21 janv. 2011 à 16:23, Randy Hengst a écrit : > on mouseUp > move button "button1" relative 0,100 without waiting > move button "button2" relative 0,100 without waiting > end mouseUp ___ use-livecode mailing list use-livecode@lists.ru

Re: Move many buttons all at same time

2011-01-21 Thread Randy Hengst
Hi Josep, How about something like. on mouseUp move button "button1" relative 0,100 without waiting move button "button2" relative 0,100 without waiting end mouseUp take care, randy hengst - On Jan 21, 2011, at 8:14 AM, JosepM wrote: > > Nop... They move one after one, when the

Re: Move many buttons all at same time

2011-01-21 Thread Anthony Howe
If I understand requirements, AnimationEngine does it pretty well A quote from Maltes animationEngine docs: "To act on multiple controls simultanously do the following aeLock[commandname]s [command] [command] aeUnlock[commandname]s e.g.: aeLockWidths aeChangeWidth the long ID of grc 1,10

Re: Move many buttons all at same time

2011-01-21 Thread Jim Sims
On Jan 21, 2011, at 3:14 PM, JosepM wrote: > > Nop... They move one after one, when the first finish all the movement the > next one begin the next... Can you group them and then move the group? sims ___ use-livecode mailing list use-livecode@lis

Re: Move many buttons all at same time

2011-01-21 Thread DunbarX
I know this can be scripted as you are working on it, but might it not be easier to group your buttons, move the group, and then ungroup? Craig Newman ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubs

Re: Move many buttons all at same time

2011-01-21 Thread JosepM
Nop... They move one after one, when the first finish all the movement the next one begin the next... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3229722.html Sent from the Revolution - User mailing li

Re: Move many buttons all at same time

2011-01-21 Thread Alex Tweedly
This part always confuses me ... so this is kind of a guess. I think the "send ...*in 0 ticks*" means that the message is queued for delivery, so the repeat loop finishes, then the lockMoves gets set false, then mouseUp finishes, and *then* your messages get delivered, one after another. Try j