Close this stack vs. clicking the close button
Bill Vlahos
bvlahos at mac.com
Mon Jun 9 00:34:01 EDT 2008
I think my problem is that the "closeStackRequest" handler is never
called when I issue the "close this stack" from a menu selection.
Here is a section from the docs:
The closeStackRequest message is only sent if the request to close a
stack is initiated by the user (eg by clicking file -> close in the
Revolution menu). If the request is initiated from a script (eg "close
this stack") then the closeStackRequest message is not sent.
Perhaps my questions should be what does Revolution do when the user
clicks File -> Close? It must not be "close this stack".
Bill Vlahos
On Jun 8, 2008, at 9:25 PM, Bill Vlahos wrote:
> If I click the close box of a window I am able to handle everything
> fine.
>
> I have a "Close" menu item which I've tried "close this stack",
> "send closeStack to this stack in 1 millisecond", and "send
> closeStack to the long name of this stack".
>
> The closeStack handler gets the message because it prompts the user
> to save the changes. However, after that it doesn't behave the same.
>
> What is different between clicking the close box and issuing the
> command?
>
> Bill Vlahos
> _______________________________________________
> 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