KB-28518: Opening a pop-up window from another pop-up window.

Question:

How can I open a pop-up window from another pop-up window, closing the first window in the process?

Solution:

To close the first pop-up window, follow these procedures:

  • Create an internal tag in the Viewer, and set its value as TRUE in the script of the button that will open the second screen (InternalTag.Value = True);
  • Create a user event in the first screen called CloseScreen, and point it to internal tag’s Value property in the field Property or Expression. Check Always when property/expression is true, and click on OK;
  • In this new event, create a script setting internal tag’s Value as FALSE, and call screen’s Close method.
Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *