2 Replies Latest reply on Feb 16, 2010 9:20 PM by acbarberi

    Updating Parent Form after Modal PopUp

    acbarberi

      I have a form that displays information about an estimate/bid on a product. When you click edit, it displays a modal PopUp window that lets you edit the estimate. How can I tell when the PopUp has closed so that I can tell the original/parent form to refresh?

       

      EDIT: Btw the PopUp is a mx:TitleWindow which I'm opening with the PopUpManager and passing my estimate to it.

       

      Here is my code for opening the PopUp:

       

      private function showEstimatePopUp(est:Estimate, title:String):void

      {

          private var win:EstimateForm;

          win = EstimateForm(PopUpManager.createPopUp(this, EstimateForm, true));

          win.title = title;

      }

       

      Message was edited by: acbarberi - Added code