Dear all,
is there a possibility to move childpanels by clicking on a button or shape which is part of this panel?The module of the rootpanel shouldn't be moved. The background is, we're using a Windows based touch panel. For optical reasons the titlebar of all WinCC OA windows is removed. It should be possible to open more then one childpanel from the in the main module located rootpanel. But without title bar it's impossible to arange the childpanels.
The best way would be if it's possible to have shape which could be draged an dropped somewhere on the screen, similar to the behavior of the title bar. But arrangement buttons like "top left", "bottom right",etc. whould be also OK (the buttons should be part of the affected childpanel).
Thanks a lot in advance
With best regards
Daniel
Move ChildPanels by Button or Drag and Drop
- daniel.ponader
- Posts:34
- Joined: Tue Jan 10, 2012 1:40 pm
Move ChildPanels by Button or Drag and Drop
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Move ChildPanels by Button or Drag and Drop
Hello,
there is no CTRL-function available to move a childpanel. To move a module the function moveModule() can be used.
To "move" a childpanel you could add a button to the existing child panel which opens the same panel again with a different name at a new position, e.g. right or left from the current position. When the script to "move" the panel is processed the old panel is closed.
Best Regards
Leopold Knipp
Senior Support Specialist
there is no CTRL-function available to move a childpanel. To move a module the function moveModule() can be used.
To "move" a childpanel you could add a button to the existing child panel which opens the same panel again with a different name at a new position, e.g. right or left from the current position. When the script to "move" the panel is processed the old panel is closed.
Best Regards
Leopold Knipp
Senior Support Specialist
- daniel.ponader
- Posts:34
- Joined: Tue Jan 10, 2012 1:40 pm
Re: Move ChildPanels by Button or Drag and Drop
Dear Mr.Knipp,
thanks a lot for this workaround. I think we're going to do it in this way.
Best Regards
Daniel
thanks a lot for this workaround. I think we're going to do it in this way.
Best Regards
Daniel