12/16/2019 10:46 PM | |
Joined: 5/13/2017 Last visit: 8/17/2025 Posts: 9 Rating:
|
How to define popupWindowPath as parameter for ClosePopup function? I want to use a close button in a small popup screen to close it. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 12/17/2019 08:17:11New subject after splitting |
|
2/7/2020 5:16 PM | |
Joined: 2/22/2017 Last visit: 12/6/2024 Posts: 14 Rating:
|
Same problem here!
|
2/13/2020 8:39 PM | |
Joined: 2/12/2013 Last visit: 8/3/2025 Posts: 10 Rating:
|
HMIRuntime.UI.SysFct.ClosePopup("/yourPopUpNameHere"); |
This contribution was helpful to
3 thankful Users |
12/21/2021 10:50 AM | |
Joined: 9/23/2005 Last visit: 9/3/2025 Posts: 4416 Rating:
|
Hi, did you check upd 2? |
Denilson Pegaia |
|
1/26/2022 3:50 PM | |
Joined: 6/22/2014 Last visit: 7/24/2025 Posts: 2 Rating:
|
Is not running with update 2. What must be done to make this work? |
3/3/2022 11:43 AM | |
Joined: 7/23/2020 Last visit: 8/4/2025 Posts: 40 Rating:
|
I'm still having this issue with V17 UPD2. Any news on how to solve it? |
11/2/2022 1:26 PM | |
Joined: 4/23/2010 Last visit: 8/19/2025 Posts: 9 Rating:
|
I wrestled with this for several hours and have come up with a work around that works well. It is based upon the script offered in the WinCC Unified Tips offered in this FAQ: https://support.industry.siemens.com/cs/pl/en/view/109810540 I used the "1.2 Access the instance of a pop-up via its title" case to accomplish this. It basically matches the pop-up name, and I used the ui.PopupScreenWindows(i).Close(); method to close the pop-up. I made it a global script so that I could just pass the pop-up name into script since I have several pop-up windows in my project. I have attached a picture of the code.
|
This contribution was helpful to
2 thankful Users |
Follow us on