3 Replies Latest reply on Jul 15, 2010 10:04 PM by BhaskerChari

    How to listen for a TitleWindow Component closing?

    EvolvedDSM Level 2

      My main app pops up a titleWindow component that closes on a Timer.  When the Timer completes, the component runs PopUpManager.removePopUp(this);   When the titleWindow closes, I want my main app to detect its close (I assume an event listener).

       

      However, using addEventListener(CloseEvent.CLOSE, someFunction) does not detect the component removing itself.  It only listens for a user clicking the X on the TitleWindow to close it.  I tested both ways.

       

      So, how can I listen for the window removing itself?  thanks