Helllo
¿Is there a way to use the function ChildPanelOnCentralModalReturn in a Ctrl script?, I´m trying to use it but the log file shows me that the function isPanelOpen is not defined.
thanks
Ctrl script open panel.
- agruber
- Posts:147
- Joined: Tue Sep 07, 2010 2:52 pm
Re: Ctrl script open panel.
Hello,
With the function ChildPanelOnCentralModalReturn or the other ChildPanel functions you open a childpanel on you currently running UI. That is why these functions are only available in the UI. It is possible to use these functions from a CTRL script when running in a UI context.
When you run a CTRL manager, it is not assigned to a specific UI manager. However you can set the necessary datapoints also from a CTRL manager. Take a look what WinCC OA does when running this function (right click in the script editor and jump to the functions in panel.ctl ). Knowing how WinCC OA does it you should be able to implement the functionality how you need it.
BR, Andreas
Customer Care
With the function ChildPanelOnCentralModalReturn or the other ChildPanel functions you open a childpanel on you currently running UI. That is why these functions are only available in the UI. It is possible to use these functions from a CTRL script when running in a UI context.
When you run a CTRL manager, it is not assigned to a specific UI manager. However you can set the necessary datapoints also from a CTRL manager. Take a look what WinCC OA does when running this function (right click in the script editor and jump to the functions in panel.ctl ). Knowing how WinCC OA does it you should be able to implement the functionality how you need it.
BR, Andreas
Customer Care