2 Replies Latest reply on Dec 1, 2009 5:25 AM by Gregory Lafrance

    How to create Local PopUp

    Mohd Fayaz Level 1

      Can anyone please tell me how to create PopUp's local to a controls like Panel.

      I mean, this popup should appear inside and disable only a Panel and not the entire application.

        • 1. Re: How to create Local PopUp
          Matt Le Fevre Level 4

          simply add the popup to the panel rather than the main app, eg:

           

          PopUpManager.addPopUp(titleWindow, panel1, true);

           

           

          although the main app will still be disabled

           

          so

           

          PopUpManager.addPopUp(titleWindow, panel1, false);
          

           

          is a quick way to allow you to still do things in the main app, whilst having the popup only focus over the parent panel.

           

          customise the popup abit, make it immobile and tadaa.

          1 person found this helpful
          • 2. Re: How to create Local PopUp
            Gregory Lafrance Level 6

            A popup is either modal or non-modal, and if its modal, everything other than the popup is inactive. Don't think there is a way around this, at least nothing you want to spend your time on.

             

            If this post answers your question or helps, please mark it as such.


            Greg Lafrance
            www.ChikaraDev.com

            Flex Development and Support Services

            1 person found this helpful