If I select an object I can bring it to the front of the layers using the submenu of the 'Object' menu: "Bring to Front". How do I write that function into a script? I searched 'Front" and "Bring" and "send" but no luck.
Thanks,
David
How to script "Bring to Front"
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: How to script "Bring to Front"
Code: Select all
set the layer of button "xyz" to top
Re: How to script "Bring to Front"
Ah. So easy. Thanks, Dixie!
Re: How to script "Bring to Front"
And for good measure, you can script to set the layer to bottom, or to a number.