12/1/2023 2:22 PM | |
Joined: 1/20/2022 Last visit: 1/10/2025 Posts: 369 Rating: (3) |
Hi Stefan I am using wincc unified 18 Update 3 can you please advise what is the best way to prevent zooming which is not needed on site. My understanding at the moment is the following:
Regards
------------------------------------------------------------------------------------------ |
Last edited by: The Helping Hand at: 12/01/2023 14:30:26New subject after splitting |
|
12/1/2023 8:32 PM | |
Joined: 1/21/2013 Last visit: 1/13/2025 Posts: 3417 Rating: (533)
|
Hi hewking103, The InteractiveZooming property is available for ScreenWindow, PopupScreenWindow, and TopLevelScreenWindow. If you do not want to allow zooming at all, you must set this property to false for all windows. Since there is only one TopLevelScreenWindow available, you only need to change this once. Kind regards |
This contribution was helpful to2 thankful Users |
12/4/2023 11:28 AM | |
Joined: 1/20/2022 Last visit: 1/10/2025 Posts: 369 Rating: (3) |
hi Stefan I tried to use your example for TopLevelScreenWindow but still struggling...
My syntax above is not accepted "TopLevelWindow" is not recognised by Intelisence. Can you please give me advise how to call it properly? Regards
|
12/4/2023 11:42 AM | |
Joined: 1/21/2013 Last visit: 1/13/2025 Posts: 3417 Rating: (533)
|
Hi hewking103, The TopLevelScreenWindow is accessed through UI.RootWindow. So it is simply
to disable zooming of the TopLevelScreenWindow. Sorry for the confusing names, I just used the names from the manual. Kind regards |
This contribution was helpful to1 thankful Users |
12/7/2023 9:56 PM | |
Joined: 1/20/2022 Last visit: 1/10/2025 Posts: 369 Rating: (3) |
Hi Stefan I put code
behind the Load Event on the startup screen but it did not prevent the operator from zooming in and out.
I will go back to this tomorrow and use inbuilt property to disable zooming in on the 5 Screen Windows which are placed on the Startup Screen "Format\Zoom Allow" property of the screenwindow
|
Follow us on