It is not automatic. The button just dispatches the close event. You need
to define a close event handler. And in that do
PopUpmanager.removePopUp(this).
Though more often, I just dispatch a custom named event, and have in a
listener/handler in the component that created the popup, and in that
handler, I get what data I need from the popup on close, like status(ok,
cancel) and value if any, then call PopUpmanager.removePopUp(event.target).
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Tom McNeer
Sent: Wednesday, May 06, 2009 5:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Popup window close button fails
In the application I'm creating, I have a few popups. Each has the
showCloseWindow attribute set to true, and sure enough, the button is
there. But it won't close the window when clicked.
?
--
Thanks,
Tom
Tom McNeer
MediumCool
http://www.mediumco http://www.mediumcool.com ol.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560