You could implement WindowStateListener#previewWindowClose(), but that may not be what you are looking for. I'd try using Application#shutdown(). You can return true from this method if you want to cancel shutdown (though this currently only works when you are running in DesktopApplicationContext, not a browser). G
On Dec 1, 2010, at 8:56 PM, Luiz Gustavo wrote: > Hi, > > what would be, in Pivot, the equivalent event of > WindowListener.windowClosing in Swing? > I'd like to show a message to the user, when he leaves the application. > > -- > Luiz Gustavo S. de Souza > > http://luizgustavoss.wordpress.com > http://luizgustavoss.blogspot.com > http://twitter.com/lugustso
