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 »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Stack order

Post by FourthWorld »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Stack order

Post by dunbarx »

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 »

dunbarx wrote:What Richard said.

But also look at the "mode" property.

Craig Newman
Thanks, that's it!
Post Reply