The mouseDown event handler for the image of your popup should simply call deletePopUp to close it.  I don’t know what you are planning on putting in the popup but if you use databinding to bind any editing controls to a model, and simply pass a reference from your main app to the model in the popup window, you should establish a relationship that will copy data to your main application as you edit in the popup.

 

If there’s a specific problem you’re running into maybe you can post a small example.  Otherwise there are plenty of code examples out there that show how popups work as well as popup editors.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of nithya karthik
Sent: Monday, June 27, 2005 5:57 AM
To: flexcoders
Subject: [flexcoders] closing a pop up window

 

hai,

     I want a pop up window to appear on click of a buuton and it must close on clicking a close image on the right top of it.. How should i do this? also any chnges done in the popup window should reflect on the main application which calls the window.. can u help with the code?

 

thanks,

nithya

Send instant messages to your online friends http://uk.messenger.yahoo.com

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





--
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




Reply via email to