Re: Move many buttons all at same time

2011-01-23 Thread JosepM
perform the movement at same time. The user move the buttons and save the positions, move again and save again. "f_punts" have the location and the object name. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at

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
aeUnlockMoves end repeat -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3230884.html Sent from the Revolution - User mailing list archive at Nabble.com. _

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
ve 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 Re

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

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

Move many buttons all at same time

2011-01-21 Thread JosepM
es_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. _