Hi Tom,

> Am 22.03.2019 um 21:42 schrieb Tom Glod via use-livecode 
> <[email protected]>:
> 
> 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
[email protected]


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to