Re: openstack or preopenstack confusing to new application builders

2009-11-09 Thread DunbarX
The several proffered solutions all should work. You can also explicitly test to see if the stack containing the handler is the stack you want: if the short name of this stack = yourMainStack then doThis else exit preOpenStack This may give you more options... Craig Newman

Re: openstack or preopenstack confusing to new application builders

2009-11-09 Thread DunbarX
Jacque: I should have read this before I sent my own version. Craig In a message dated 11/8/09 7:24:06 PM, jac...@hyperactivesw.com writes: 3. If you really do need to put the handlers in the mainstack script, check to see if the stack that is opening is one you want to deal with. This is

Re: openstack or preopenstack confusing to new application builders

2009-11-09 Thread J. Landman Gay
dunb...@aol.com wrote: I should have read this before I sent my own version. Nah. More is good. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution

openstack or preopenstack confusing to new application builders

2009-11-08 Thread william humphrey
I am posting this just for other newbies out there who may find this confusing. If you have a mainstack and lots of substacks and you put either a preopenstack or an openstack in the mainstack you would think that it would only be called when you first open your stack. Not true. It is called every

Re: openstack or preopenstack confusing to new application builders

2009-11-08 Thread Richard Gaskin
william humphrey wrote: I am posting this just for other newbies out there who may find this confusing. If you have a mainstack and lots of substacks and you put either a preopenstack or an openstack in the mainstack you would think that it would only be called when you first open your stack.

Re: openstack or preopenstack confusing to new application builders

2009-11-08 Thread Nicolas Cueto
I think the solution is to include preOpenstack, openStack and closeStack handlers in all your stacks. Even if the handlers are empty. That goes for cards too. -- Nicolas Cueto On Mon, Nov 9, 2009 at 6:33 AM, william humphrey b...@bluewatermaritime.com wrote: I am posting this just for other

Re: openstack or preopenstack confusing to new application builders

2009-11-08 Thread J. Landman Gay
william humphrey wrote: If you have a mainstack and lots of substacks and you put either a preopenstack or an openstack in the mainstack you would think that it would only be called when you first open your stack. Not true. It is called every time you switch to any of the other substacks of your