Layering substacks

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Layering substacks

Post by erikhans08 » Thu Aug 11, 2016 7:26 pm

I have googled "Livecode layer stacks" but nothing comes up. Is layering substacks possible?
I tried "go to stack "x" but nothing happened.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9663
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Layering substacks

Post by dunbarx » Thu Aug 11, 2016 9:04 pm

Hi.

Do you mean that if you overlay several stacks, you want the appearance of that pile to act in a certain way? There is no "layer" property for stacks, though if you ask for the layer of a stack, you will get "0".

The "layer" of a pile of stacks is determined by the recent activity of which ones become the defaultStack. Try this. Make three small stacks and overlay them so you can see a portion of all three at all times. Now click on one stack or the other. The clicked stack goes to the top, and the most recent one goes right under. You can click all day and see how this works.

So it is possible to "layer" your stacks if you navigate to them in some managed way. If you want the order to be "3,1,2" then simply navigate in reverse order.

Craig Newman

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Layering substacks

Post by jacque » Sun Aug 14, 2016 9:18 pm

Actually, windows and stacks have layers but it seems to be read-only.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”