Quitting a standalone and saving open stacks

2008-04-20 Thread Bill Vlahos
I have a standalone which opens other stacks that contain data. There is a closeStack handler in each data stack that checks to see if the stack needs to be saved and prompts the user. This works fine if the user clicks the close window button but I also need to catch this if the user

Re: Quitting a standalone and saving open stacks

2008-04-20 Thread Sarah Reichelt
Here is the front script: on shutdownRequest put the openStacks into vOpenStacks filter vOpenStacks with *.ifw -- checks to make sure it is a data stack if the number of lines in vOpenStacks 0 then repeat for each line tLine in vOpenStacks close stack tLine end

Fixed: Quitting a standalone and saving open stacks

2008-04-20 Thread Bill Vlahos
I was able to make it work by adding an additional quit statement after the repeat loops. on shutdownRequest put the openStacks into vOpenStacks filter vOpenStacks with *.ifw if the number of lines in vOpenStacks 0 then repeat for each line tLine in vOpenStacks close stack