On Oct 12, 2004, at 11:44 AM, Yves COPPE wrote:
Hi list
I put in the file menu:
case "Quit [name of app]" quit break
I put in the file menu:
case "Quit [name of app]" quit break
At the mainstack level:
on closeStackRequest quit end closeStackRequest
on shutDownRequest
answer "Are you sure you want to quit [name of app]?" with "No" or "Yes"
if it is "Yes" then
pass shutDownRequest
else
exit to top
end if
end shutDownRequest
I use this for all platforms and it works like a charm!
thanks to Mark and Thierry but it definitively doesn't work for me...
I've tried many ways, but it's not as expected
for example if I launch the app and immediately quit, no shutdownrequest is sent...
Are you sure you do not have anything else trying to trap the quitting of the stack? I do not have any projects that make use of start using... so this may be the issue that I am not getting.
-- Best regards, Mark Talluto http://www.canelasoftware.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
