How to detect that user closed window

Peter Haworth pete at lcsql.com
Thu Feb 5 13:22:07 EST 2015


Is empty the right value? I thought it had true/false in the values.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Thu, Feb 5, 2015 at 10:18 AM, Bob Sneidar <bobsneidar at iotecdigital.com>
wrote:

> It’s called gREVStackStatus. Given:
>
> on closeStackRequest
>    save this stack
>    put gREVStackStatus into aStackStatus
>    put empty into aStackStatus ["Customer Search"]
>    put aStackStatus into gREVStackStatus
>    pass closeStackRequest
> end closeStackRequest
>
> Still no workie. I still get the save dialog. The dialog is firing before
> the saveStackRequest message. That is the problem. I will look for another
> message that may be getting sent.
>
> Bob S
>
>
> > On Feb 5, 2015, at 09:56 , Peter Haworth <pete at lcsql.com> wrote:
> >
> > I think there's a global array in the IDE keyed by stack name with a
> value
> > of true/false that indicates whether the stack is "dirty".  You could
> > probably set that appropriately but unfortunately, I can't remember its
> > name, except that it begins with "g"!!!
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the Use-livecode mailing list