You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by "Devesh Mishra(NABFS00)" <de...@igate.com> on 2014/07/01 20:52:07 UTC

Z-Index of Alert window

Hi,

I am using an application, where I have multiple popups. For example, when I click on a button on main application, it opens a popup POPUP-A. After that when I click on another button on POPUP-A, it opens another popup POPUP-B. Now when I click on another button on POPUP-B, it display a message in Alert window. But it doesn't comes in front. It goes behind both popups.

How can I set the Z-Index of Alert window, so that It can in front of POPUP-B ?

--
Thanks & Regards,
Devesh Mishra(NABFS00)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to IGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin@igate.com <ma...@igate.com>. IGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of IGATE. IGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While IGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about IGATE please visit www.igate.com <http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Z-Index of Alert window

Posted by Alex Harui <ah...@adobe.com>.
Don't know, maybe the this pointer is different?

On 7/11/14 8:27 AM, "Devesh Mishra(NABFS00)" <de...@igate.com>
wrote:

>Hi,
>
>Earlier I was using,
>Alert.show("Editing is already in progress.");
>
>Now I am using with default parameters,
>Alert.show("Editing is already in progress.","Error",4,this);
>
>And it's working now. I am unable to understand the differences.
>
>--
>Thanks & Regards,
>Devesh Mishra
>
>
>-----Original Message-----
>From: Alex Harui [mailto:aharui@adobe.com]
>Sent: Wednesday, July 02, 2014 10:49 AM
>To: users@flex.apache.org
>Subject: RE: Z-Index of Alert window
>
>There are a couple of ways:
>
>1) after the alert is up, get its parent and call setChildIndex on it.
>You may need to user rawChildren.
>2) get access to ActiveWindowManager which handles this popup z-order
>under the covers.
>
>But usually, folks delay creating the Alert which usually also solves the
>problem.  Wait until the popup finished creaionComplete event before
>creating the alert.
>
>-Alex
>________________________________________
>From: Devesh Mishra(NABFS00) [devesh.dmishra@igate.com]
>Sent: Tuesday, July 1, 2014 11:52 AM
>To: users@flex.apache.org
>Subject: Z-Index of Alert window
>
>Hi,
>
>I am using an application, where I have multiple popups. For example,
>when I click on a button on main application, it opens a popup POPUP-A.
>After that when I click on another button on POPUP-A, it opens another
>popup POPUP-B. Now when I click on another button on POPUP-B, it display
>a message in Alert window. But it doesn't comes in front. It goes behind
>both popups.
>
>How can I set the Z-Index of Alert window, so that It can in front of
>POPUP-B ?
>
>--
>Thanks & Regards,
>Devesh Mishra(NABFS00)
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Information contained and transmitted by this e-mail is confidential and
>proprietary to IGATE and its affiliates and is intended for use only by
>the recipient. If you are not the intended recipient, you are hereby
>notified that any dissemination, distribution, copying or use of this
>e-mail is strictly prohibited and you are requested to delete this e-mail
>immediately and notify the originator or mailadmin@igate.com
><ma...@igate.com>. IGATE does not enter into any agreement
>with any party by e-mail. Any views expressed by an individual do not
>necessarily reflect the view of IGATE. IGATE is not responsible for the
>consequences of any actions taken on the basis of information provided,
>through this email. The contents of an attachment to this e-mail may
>contain software viruses, which could damage your own computer system.
>While IGATE has taken every reasonable precaution to minimise this risk,
>we cannot accept liability for any damage which you sustain as a result
>of software viruses. You should carry out your own virus checks before
>opening an attachment. To know more about IGATE please visit
>www.igate.com <http://www.igate.com>.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Information contained and transmitted by this e-mail is confidential and
>proprietary to IGATE and its affiliates and is intended for use only by
>the recipient. If you are not the intended recipient, you are hereby
>notified that any dissemination, distribution, copying or use of this
>e-mail is strictly prohibited and you are requested to delete this e-mail
>immediately and notify the originator or mailadmin@igate.com
><ma...@igate.com>. IGATE does not enter into any agreement
>with any party by e-mail. Any views expressed by an individual do not
>necessarily reflect the view of IGATE. IGATE is not responsible for the
>consequences of any actions taken on the basis of information provided,
>through this email. The contents of an attachment to this e-mail may
>contain software viruses, which could damage your own computer system.
>While IGATE has taken every reasonable precaution to minimise this risk,
>we cannot accept liability for any damage which you sustain as a result
>of software viruses. You should carry out your own virus checks before
>opening an attachment. To know more about IGATE please visit
>www.igate.com <http://www.igate.com>.
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>


RE: Z-Index of Alert window

Posted by "Devesh Mishra(NABFS00)" <de...@igate.com>.
Hi,

Earlier I was using,
Alert.show("Editing is already in progress.");

Now I am using with default parameters,
Alert.show("Editing is already in progress.","Error",4,this);

And it's working now. I am unable to understand the differences.

--
Thanks & Regards,
Devesh Mishra


-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Wednesday, July 02, 2014 10:49 AM
To: users@flex.apache.org
Subject: RE: Z-Index of Alert window

There are a couple of ways:

1) after the alert is up, get its parent and call setChildIndex on it.  You may need to user rawChildren.
2) get access to ActiveWindowManager which handles this popup z-order under the covers.

But usually, folks delay creating the Alert which usually also solves the problem.  Wait until the popup finished creaionComplete event before creating the alert.

-Alex
________________________________________
From: Devesh Mishra(NABFS00) [devesh.dmishra@igate.com]
Sent: Tuesday, July 1, 2014 11:52 AM
To: users@flex.apache.org
Subject: Z-Index of Alert window

Hi,

I am using an application, where I have multiple popups. For example, when I click on a button on main application, it opens a popup POPUP-A. After that when I click on another button on POPUP-A, it opens another popup POPUP-B. Now when I click on another button on POPUP-B, it display a message in Alert window. But it doesn't comes in front. It goes behind both popups.

How can I set the Z-Index of Alert window, so that It can in front of POPUP-B ?

--
Thanks & Regards,
Devesh Mishra(NABFS00)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to IGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin@igate.com <ma...@igate.com>. IGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of IGATE. IGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While IGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about IGATE please visit www.igate.com <http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to IGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin@igate.com <ma...@igate.com>. IGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of IGATE. IGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While IGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about IGATE please visit www.igate.com <http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


RE: Z-Index of Alert window

Posted by Alex Harui <ah...@adobe.com>.
There are a couple of ways:

1) after the alert is up, get its parent and call setChildIndex on it.  You may need to user rawChildren.
2) get access to ActiveWindowManager which handles this popup z-order under the covers.

But usually, folks delay creating the Alert which usually also solves the problem.  Wait until the popup finished creaionComplete event before creating the alert.

-Alex
________________________________________
From: Devesh Mishra(NABFS00) [devesh.dmishra@igate.com]
Sent: Tuesday, July 1, 2014 11:52 AM
To: users@flex.apache.org
Subject: Z-Index of Alert window

Hi,

I am using an application, where I have multiple popups. For example, when I click on a button on main application, it opens a popup POPUP-A. After that when I click on another button on POPUP-A, it opens another popup POPUP-B. Now when I click on another button on POPUP-B, it display a message in Alert window. But it doesn't comes in front. It goes behind both popups.

How can I set the Z-Index of Alert window, so that It can in front of POPUP-B ?

--
Thanks & Regards,
Devesh Mishra(NABFS00)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to IGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin@igate.com <ma...@igate.com>. IGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of IGATE. IGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While IGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about IGATE please visit www.igate.com <http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~