2 Replies Latest reply on Mar 18, 2013 5:56 AM by BBlommers

    How to position all alert messages in a particular position?

    ramesh.reddy

      Hi All,

       

              I have developed a Application where it contains so many Alert Messages and i want display All Alert messages in a particular position of respected screen. I have tried the following code but it works for individual alert messages. I don't want to set x and y properties individually, i want set x and y properties globally. Is there any way that i can apply for all the alert messages in my application.

       

       

      myAlert = Alert.show('Hello World');
       
      PopUpManager.centerPopUp(myAlert);
        myAlert
      .x = 0;
        myAlert
      .y = 0;

       

       

      Thanks in Advance