ignore close button?

Tom Glod tom at makeshyft.com
Fri Mar 22 17:27:15 EDT 2019


Hi Klaus, yes thank you that should work. ....

On Fri, Mar 22, 2019 at 4:49 PM Klaus major-k via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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
>
>
> _______________________________________________
> 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