principles of stack init

thierry douez at wanadoo.fr
Tue Nov 23 00:37:36 EST 2004


Hi all,


i have a stack with substacks used as modals.

the main stack has handlers PreOpenStack and CloseStack
respectively to init or reset the application.

but as i add these modal dialogs, they triggered the
Preopenstack and Closestack of the main stack too !

so , to quit a modal window, i use this:

        on mouseUp
           lock messages
           close this stack
        end mouseUp

well, i don't like too much this way of doing..
May be someone can give some others clues about
how to Init or Reset a mainstack but not when
you open or close substacks ?

Best regards,   thierry




More information about the use-livecode mailing list