shutdownrequest

Yves COPPE yvescoppe at skynet.be
Tue Oct 12 14:44:37 EDT 2004


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...

Greetings.

Yves COPPE
yvescoppe at skynet.be



More information about the use-livecode mailing list