preopenstack handler interrupt?

2010-03-09 Thread Ron
Greetings, I have a mainstack with a preopenstack and openstack handler in the card. In the preopenstack handler there is a call to write out a preference stack from a custom property, then open that stack, read data from that stack and then continue with other operations. My question is,

Re: preopenstack handler interrupt?

2010-03-09 Thread Bob Sneidar
Hi Ron. Are openStack and preOpenStack sent to the card or just the stack?? Seems odd to send a stack message to the current card. Bob On Mar 9, 2010, at 3:18 PM, Ron wrote: > Greetings, > > I have a mainstack with a preopenstack and openstack handler in the card. In > the preopenstack han

Re: preopenstack handler interrupt?

2010-03-09 Thread Bob Sneidar
To answer your question, it is my understanding that Revolution, being single threaded, will complete the preopenstack handler before anything else is launched. Otherwise, you could put a breakpoint in the PreOpenCard handler, and every other handler without a breakpoint would get processed whil

RE: preopenstack handler interrupt?

2010-03-09 Thread Jim Bufalini
Ron wrote: > I have a mainstack with a preopenstack and openstack handler in the > card. In the preopenstack handler there is a call to write out a > preference stack from a custom property, then open that stack, read > data from that stack and then continue with other operations. > > My question

RE: preopenstack handler interrupt?

2010-03-09 Thread Jim Bufalini
Bob Sneidar wrote: > Are openStack and preOpenStack sent to the card or just the stack?? > Seems odd to send a stack message to the current card. If the preOpenStack and openStack handlers are in the first card of a stack and not in the stack script of the stack, then they are executed from the c

Re: preopenstack handler interrupt?

2010-03-09 Thread Ron
Thanks Jim and Bob, Jim, this is what I thought but I am experiencing sudden death of the application that seems to be related to setting the menubar based on data in the pref stack. Based on the sequence of preopenstack of main stack runs until command to open the pref stack then preopenst

RE: preopenstack handler interrupt?

2010-03-09 Thread Jim Bufalini
Ron wrote: > Thanks Jim and Bob, > Jim, this is what I thought but I am experiencing sudden death of the > application that seems to be related to setting the menubar based on > data in the pref stack. Based on the sequence of > preopenstack of main stack runs until command to open the pref stack

RE: preopenstack handler interrupt?

2010-03-10 Thread Robert Brenstein
Ron wrote: Thanks Jim and Bob, Jim, this is what I thought but I am experiencing sudden death of the application that seems to be related to setting the menubar based on data in the pref stack. Based on the sequence of preopenstack of main stack runs until command to open the pref stack th

Re: preopenstack handler interrupt?

2010-03-10 Thread Bob Sneidar
Huh. Didn't catch that part. Bob On Mar 9, 2010, at 5:32 PM, Jim Bufalini wrote: > This is because you are calling for the opening of the preferences stack > from inside of the preOpenStack handler of the mainstack ___ use-revolution mailing list use