Message Sent when Closing Stack
Tom Glod
tom at makeshyft.com
Thu Jun 10 14:59:56 EDT 2021
this will work
on closeStackRequest
answer "When you press 'X' Do you want to minimize or exit?" with
"Exit" or "Minimize"
if it = "Minimize" then
set the iconic of me to true
else
quit
end if
end closeStackRequest
On Thu, Jun 10, 2021 at 2:21 PM Craig Newman via use-livecode <
use-livecode at lists.runrev.com> wrote:
> Several are sent:
> “closeCard"
> “closeStack”
> “closeStackRequest”
>
> Crag
>
> > On Jun 10, 2021, at 12:59 PM, Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com> 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.
> >
> > Bob S
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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
>
--
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411
More information about the use-livecode
mailing list