Open stack from another stack--Was "PreOpenStack in the IDE"
jhurley0305 at sbcglobal.net
Mon Aug 31 18:05:04 EDT 2009
It appears that neither "open stack" nor "go stack" will trigger a
I am using as a workaround an "open stack" and then sending a
PreOpenStack message to the stack.
Clumsy but it works.
> James Hurley wrote:
> > Hi Mark,
> > Thanks. On further testing I see that you are right--generally
> > speaking.
> > My problem is when I attempt to open a stack from a Palette stack
> > with the statement:
> > open stack "mystack"
> > the stack opens but the PreOpenStack handler is not executed.
> > On the on the other hand, If I open it from Open in the FIle menu,
> > PreOpenStack is executed.
> > Is there something about opening a stack from another stack that
> > not trigger the PreOpenStack message?
> Try using "go stack" to the stack file name on disk. This should
> trigger a preOpenStack.
> Aloha from Hawaii,
> Jim Bufalini
More information about the Use-livecode