1/16/2024 10:53 AM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi, It is not easy to answer your question as it would require a more detailed knowledge of your project. When you use Screen.FindItem("~/swMainNavigation") you are trying to access a screen window named "swMainNavigation" within the screen window at the top level of your own screen hierarchy. So in many cases this would mean that you need to have a window of that name on your start screen. Note, however, that it must be within your own screen hierarchy, which may not be the case if you call this method from a popup window. I myself use the script debugger to find out the correct syntax. In the console view of the debugger I can try different syntax and see the result. Kind regards |
Follow us on