Open stack from another stack--Was "PreOpenStack in the IDE"

Jim Bufalini jim at visitrieve.com
Mon Aug 31 18:14:05 EDT 2009


Jim,

Hmm... The important part of what I said is not the go or open but using the
stack "file name" as in *go stack "C:\MyStack.rev"* What version of Rev are
you using?

Aloha from Hawaii,

Jim Bufalini

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] On Behalf Of James Hurley
> Sent: Monday, August 31, 2009 12:05 PM
> To: use-revolution at lists.runrev.com
> Subject: Re: Open stack from another stack--Was "PreOpenStack in the
> IDE"
> 
> Jim,
> It appears that neither "open stack" nor "go stack" will trigger a
> PreOpenStack message.
> I am using as a workaround an "open stack" and then sending a
> PreOpenStack message to the stack.
> Clumsy but it works.
> 
> Jim Hurley
> 
> > 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,
> > the
> > > PreOpenStack is executed.
> > >
> > > Is there something about opening a stack from another stack that
> > does
> > > not trigger the PreOpenStack message?
> >
> > Try using "go stack" to the stack file name on disk. This should
> > always
> > trigger a preOpenStack.
> >
> > Aloha from Hawaii,
> >
> > Jim Bufalini
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list