Differentiating a substack from a mainstack
pete at lcsql.com
Wed Nov 20 20:24:57 CET 2013
I need to detect whether a newly created stack is a main stack or a
substack. I am using an openStack front script handler to try to figure
this out (have also used a newStack handler) to check the stack name
against its mainstack property but it appears that when creating a
substack, its mainstack is set to its own name when the openStack/newStack
message is sent.
Any thoughts on how to figure out this seemingly simple piece of
On a related note, the hidden property of both a main and substack is true
during newStack and openStack, yet the dictionary claims that openStack is
sent after a stack is visible.
lcSQL Software <http://www.lcsql.com>
More information about the use-livecode