Standalone Quit Menu
Thierry Arbellot
thierry.arbellot at laposte.net
Fri Jan 20 09:06:32 EST 2006
Hi Steve,
2 suggestions:
- put the shutdownrequest handler in the script of the main stack
- if you have more than one stack file, trap the shutdownrequest
message in each stack file
Hope it helps
Thierry
On 2006, Jan 20, , at 04:35, Steve Wagenseller wrote:
> I'm trapping the Quit message from the menubar via a shutdownrequest
> handler, but in the standalone, something curious occurs. The first
> time I choose "Quit" I can get the trap script to run (basically, an
> "Are you sure?" prompt along with some save options). The second time
> I choose Quit from the menu, the trap is not implemented.
>
> I am not passing the handler along, it sits at the stack level, and I
> am using an "exit to top" to get out of the shutdownrequest handler
> when "Cancel" is chosen.
>
> Have any of you experienced this strange problem -- that the trap only
> works once -- and do you have suggestions?
>
> --Steve
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list