On 3/30/06, Alex & Alex <[EMAIL PROTECTED]> wrote: > I have a simple TitleWindow that I open when I click on a button. > > Each time I click on the button a new TitleBar opens. How can I see if > the TitleWindow is already open? Or any other solution to this issue > will do.
Typically you just save a reference to the existing one and check for it being null on the click handler. When the window closes, you get a "close" event (if I remember) where you can set the reference to null again. Manish -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/