Tab Order Property?

Mark Wieder mwieder at ahsoftware.net
Tue Dec 6 14:09:39 CST 2011


Bob Sneidar <bobs at ...> writes:

> 
> Belay my last. Pretty simple:
> 
> on clickOrder
>     put the selectedobjects into theObjectList
>     repeat for each line theObject in theObjectList
>         set the layer of theObject to top
>     end repeat
> end clickOrder

Depending on the number of theObjects you have, you may want to lock the screen
first - changing the layer of an object affects the visible layering.

Also, there may well be times when the tab order you desire doesn't necessarily
match the visible ordering of objects on the screen - you may want to have other
non-tabbable objects interspersed with them, or you might want to have other
objects on top of them layerwise (ok - that's not a word, but you get the idea).
I do think a tab-order property is a useful thing to add in addition to the
layer hierarchy.





More information about the use-livecode mailing list