Close this stack vs. clicking the close button
bvlahos at mac.com
Sun Jun 8 23:34:01 CDT 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".
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
> 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
> Bill Vlahos
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode