FOR YOU: OSX-style push reorder of objects

Tore Nilsen tore.nilsen at
Tue Aug 8 10:01:22 EDT 2017

To make this even simpler, since you already have a button containing the script, button “masterscript”, you can just set the behavior of the other controls to the button “masterscript”. You do not need to copy the script to each button or control. You can do this in the advanced pane of the inspector for each button or change your “Apply masterscript” kode to the following:

on mouseUp
   repeat with i = 1 to 14
      set behavior of btn ("Billede" && i) to button id 1069 of stack "OSX push style reorder"
   end repeat
end mouseUp

This way you can adjust your script in button “masterscript” and it will automatically apply to all the other button, without the need to reapply the masterscript.

Tore Nilsen 

> 8. aug. 2017 kl. 15:45 skrev Michael Kristensen via use-livecode <use-livecode at>:
> Hi there
> This is a stack that reorder objects like in the osx app bar.
> You drag an object and it pushes the other objects away.
> This might also be interesting for Windows users. I dont know how they do it.
> Please upload if you have improvements.
> Enjoy
> Michael Kristensen
> Here it is:
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list