substack display order

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jaibon
Posts: 6
Joined: Sat Jan 29, 2011 2:22 am

substack display order

Post by jaibon » Wed Feb 16, 2011 12:55 am

Hi!

Is there a way to specify that a substack should always be behind/below another one?
I have a set of cards that belong directly to the main stack. I later set up a popup browser window in a substack and a larger background window in another substack.
When opening the mainstack, the display order is correct, with only the background window showing behind the cards. However, when opening and closing the popup browser window, the background window comes above the cards in the mainstack and they get hidden.

How can I set up a display order as is the objects within a card?

Thanks!!

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

Re: substack display order

Post by dunbarx » Wed Feb 16, 2011 4:10 am

You can manage this directly, though you may have to do a bit of shuffling. Check the dictionary under:

Mainstack property
mainstacks function
defaultStack

and the "see also" stuff under each. You probably have all those stacks with the same "mode", but check that out as well.

Craig Newman

Post Reply