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');
myAlert.x = 0;
myAlert.y = 0;
Thanks in Advance
Have you thought about just creating a Panel that is not visible. Then when you need to display the alert, display the panel and append the text. You cold then add a button to the panel acknowledging the alert, which would set the panel visible attribute to false and clear the text. That way you only have one alert window to close.
Europe, Middle East and Africa