Working between two stacks

Eric Chatonet eric.chatonet at sosmartsoftware.com
Mon Jun 13 11:13:07 EDT 2005


Hi Glen,

Have a look at the dialogData property:
It allows exactly what you want: exchange data between 2 stacks (one  
of which is a  modal stack) and pause the calling handler until the  
modal stack is closed.
Very handy :-)

Best regards from Paris,

Eric Chatonet.

Le 13 juin 05 à 17:07, Glen Bojsza a écrit :

> After some time of troubleshooting my application I realized that I
> had made an assumption how information flows between two stacks.
>
> In stack "build" I have a button that does several calculations and at
> one point opens another stack where the user is to determine what
> parameters they want to include.
>
> STACK "BUILD"
>
> on mouseUP
> -- do calcs
> ...
> ...
> modal stack "Input"
> --do more calcs based on user selection from modal stack "Input"
> ...
> end mouseUp
>
>
>
> My problem is obvious now ... the mouseUp in STACK "BUILD" continues
> not waiting for the user input from the STACK "Input"
>
> What would be the proper way to handle communication between stacks so
> it will wait for the input decisions?


----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------



More information about the use-livecode mailing list