FOR YOU: OSX-style push reorder of objects
tore.nilsen at me.com
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:
repeat with i = 1 to 14
set behavior of btn ("Billede" && i) to button id 1069 of stack "OSX push style reorder"
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.
> 8. aug. 2017 kl. 15:45 skrev Michael Kristensen via use-livecode <use-livecode at lists.runrev.com>:
> 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.
> Michael Kristensen
> Here it is:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode