ignore close button?
Klaus major-k
klaus at major-k.de
Fri Mar 22 16:49:25 EDT 2019
Hi Tom,
> Am 22.03.2019 um 21:42 schrieb Tom Glod via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi folks,
>
> I have an application that has a "close to tray" option ...and i'd like to
> find a way to ignore the closestack message when the x is pressed.
> is there any way to get control of the message and NOT close the stack but
> minimize it?
> I'm stumped.
catch the "closestackrequest" message!
If you do not -> pass closestackrequest
the stack will not close, so you can do what you want in that handler.
You get the picture :-)
> Thanks,
>
> Tom
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list