Communication between modal stack and main stack

Jan Sælid selid at broadpark.no
Fri Nov 4 05:47:25 EST 2005


Hi

I use several modal stacks  to communicate with the user.
My first question is:

Is there a way to pass informasjon from a modal stack back to the function on the stack that
opened it? Like "Return"? I use a custom property for now.... 

When the modal stack closes the function in the main stack that opened it continues. Just what I want. But for the remaining message path in the function
I have to refer to the main stack - even if the fuction resides in the main stack. Or else I get a background not found error.

How can I prevent this. Do I need to set the focus back on the main stack?


Jan



More information about the use-livecode mailing list