4/29/2024 8:27 PM | |
Joined: 6/4/2008 Last visit: 2/12/2025 Posts: 1511 Rating:
|
Hi All, using TIA & WinCC Adv/Unified V18 Upd3 Please see attached screenshots (I had intended to post my project, but even when heavily stripped out, it was still 3.6MB). In runtime, I can toggle a popup on and off using the "Details" button, and the Details button highlighting is working as it should. If the popup is opened via the Details button and then swiped down using a touch-area inside the popup, then the popup closes as it should. I expected that the Details button could be "un-highlighted" when swiping down the popup (in a similar way to toggling the Details button), but I keep getting the error stating "Typerror: cannot set properties of undefined (setting "BackColor") - which usually means you've typed the object name incorrectly or similar. However, as I am using absolute paths to the Details button object in my global script, I can't understand why this does not work with the swipedown, but it does work with toggling the Details button. Any help greatly appreciated. Regards, Graeme AttachmentPopup Button Highlighting.zip (205 Downloads) |
Last edited by: Jen_Moderator at: 04/30/2024 08:26:55Text formatting optimized. |
|
4/30/2024 10:38 AM | |
Joined: 1/21/2013 Last visit: 3/18/2025 Posts: 3657 Rating:
|
Hi Graeme, When using the OpenScreenInPopup method, you should specify a parent screen with the parentScreenPath parameter. If you do not, the screen hierarchy will come from the popup itself, so the top-level screen window will be your popup screen, rather than the root screen of your main screen hierarchy. Kind regards |
Follow us on