Stack order

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Pebah
Posts: 23
Joined: Mon Aug 01, 2011 9:35 pm

Stack order

Post by Pebah » Sat Aug 27, 2011 2:23 am

I have several open stacks. One of them is a "tools" stack that acts like a palette--it's supposed to act on the stack just below it. How do I determine which stack is that one underneath? Is there a stacks layer property?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Stack order

Post by FourthWorld » Sat Aug 27, 2011 4:57 am

See the topStack function in the Dictionary.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Stack order

Post by dunbarx » Sat Aug 27, 2011 6:27 am

What Richard said.

But also look at the "mode" property.

Craig Newman

Pebah
Posts: 23
Joined: Mon Aug 01, 2011 9:35 pm

Re: Stack order

Post by Pebah » Mon Aug 29, 2011 11:56 pm

dunbarx wrote:What Richard said.

But also look at the "mode" property.

Craig Newman
Thanks, that's it!

Post Reply