you can trap the name of the window being closed...

on closestack
 if the short name of the defaultstack is among the lines of the substacks
of this stack then...
avoid checks
end if
end closestack

same for preopenstack...
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of thierry
> Sent: Tuesday, November 23, 2004 06:38
> To: How to use Revolution
> Subject: principles of stack init
> 
> 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
> 
> 
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to