AW: AW: difference between closing with the red cross or sendingclose?

Tiemo Hollmann TB toolbook at kestner.de
Tue Oct 14 10:12:53 EDT 2008


Hi Klaus,
noop, "closestackrequest" is not triggered by close commands send from
script :(
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Klaus Major
> Gesendet: Dienstag, 14. Oktober 2008 16:06
> An: How to use Revolution
> Betreff: Re: AW: difference between closing with the red cross or
> sendingclose?
> 
> Hi Tiemo,
> 
> >
> > Hello again,
> > sometimes the basics are the hardest :) I want to be able to close
> > my stack
> > by the standard "red cross" AND also by one of my self made menu items
> > "Close".
> > Using "on closeStackRequest" traps the standard closing by the cross
> > and
> > after answering "yes" the stack closes. BUT sending
> > "closeStackRequest" from
> > my menu and answering "yes", nothing happens. But always when
> > picking a
> > second time the close menu and answering "yes" the stack closes.
> > Using "close myStack" in my menu didn't worked as expected either
> > (as posted
> > before)
> > So what is the straight forward way to close from the title bar and
> > a self
> > made menu with an answer trap?
> > Thank you
> > Tiemo
> 
> does a simple "close this stack" not work in your custom "close"
> buttons?
> That should also trigger your "closestackrequest" handler.
> 
> 
> Regards
> 
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list