Hi Ken,

"close" is a method defined by qx.application.AbstractGui, you just need 
to override it in your application and return a string.

Regards,
Daniel

Ken MacDonald schrieb:
> Hi,
> I'm attempting to catch the "close" event (i.e. actually the browser's 
> 'onbeforeunload' event), but am not seeing the event triggered at all, 
> in any browser.
> 
> My app is running as a qx.application.Standalone, and I've added a 
> 'close' listener to it with an alert message, and returns a string to 
> force 'do you really want to exit' prompting, but the event has never 
> been captured in either FF or IE. Suggestions as to how to catch this 
> most welcome!
> Thanks,
> Ken
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to