Message Sent when Closing Stack

J. Landman Gay jacque at
Thu Jun 10 17:54:27 EDT 2021

On 6/10/21 11:59 AM, Bob Sneidar via use-livecode wrote:
> Hi all.
> We have gone around about this before, but I still cannot get this to work. I need to know if there is a message sent when a user clicks the close button in a window (on a Mac it's a little red dot in the upper left, on Windows a red square with an X).
> I tried before closeStack, closeStackRequest etc, and these are not getting triggered when I close the stack this way.

You want closeStackRequest for that. Note that if you don't pass the message the stack won't close.

Do you mean if you set a breakpoint it won't trigger at all?

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list