Hi Dave, Have you tried something like this (in your "library" stack):
on closeStackRequest if the short name of this stack <> the short name of me then pass closeStackRequest end closeStackRequest This should allows all other closestack requests, trapping only the one sent to your library stack. Greetings Paul Claude on 5-04-2006 14:45, David Burgun at [EMAIL PROTECTED] wrote: > Hi, > > Ok, I tried that and now none of my stacks will close at all if i use > the "close" button in the window title bar!!!!! Also the message box > will not close either! > > Help! How do I get out of this????? > > Is there somewhere in the docs that tell you explicitly what you need > to do in order to: > > 1. Allow the close button in the Window Title Bar to close the > window and then optionally have the "stack not saved" dialog appear? > e.g. if the stack is dirty I want it to be automatically saved, > > 2. Have this work across many stacks and libraries. > > 3. Have this work with a sub-stack (my only sub-stack is in a > library, but it would be nice to have a solution that works for > everything!). > > I've searched and searched for something that explains how to do this > but I can't find anything that positively tell you what should happen > and how to handle it. > > Thanks a lot > All the Best > Dave > > On 4 Apr 2006, at 16:14, Rob Cozens wrote: > >> >> Dave, >> >>> I added a closeStackRequest handler to my sub-stack script: >>> >>> on closeStackRequest >>> save this stack >>> pass closeStackRequest >>> end closeStackRequest >>> >>> But I still get prompted to save the sub-stack when closing it in >>> the IDE. >>> >>> Do I need one in the mainStack too? >>> >>> >> >> I think all you need to do is not pass closeStackRequest in your >> closeStackRequest handler. >> >> Rob Cozens >> CCW, Serendipity Software Company >> >> "And I, which was two fooles, do so grow three; >> Who are a little wise, the best fooles bee." >> >> from "The Triple Foole" by John Donne (1572-1631) >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution