Hello,
V3.19 P006 ULC child panel is resizable using mouse. The same child panel in VISION is not resizable. After calling setPanelSize() in child panel's initialize event, the child panel is not resizeable anymore.
Best Regards,
Ahti
ULC childpanel resizable
Search
- hpuchegger
- Posts: 38
- Joined: Fri Oct 08, 2021 10:38 am
Re: ULC childpanel resizable
This behavior already exists in older WinCC OA versions too (e.g. 3.18). Therefore this is not related to your specific WinCC OA version/patch.
When using setPanelSize( string module, string panel, bool fitToBounding, int width, int height) the option "fitToBounding" will define:
TRUE - the panelsize is automatically fit to the shape bounding box (width and height are ignored)
FALSE - the panelsize is set to size width x height.
At the case of fitToBounding = FALSE, the panel will be opened at exact size you have entered and therefore should not be resizable anymore. This behavior is intentionally.
For further details have a look at our online documentation:
https://www.winccoa.com/documentation/W ... lSize.html
Br, Herbert
When using setPanelSize( string module, string panel, bool fitToBounding, int width, int height) the option "fitToBounding" will define:
TRUE - the panelsize is automatically fit to the shape bounding box (width and height are ignored)
FALSE - the panelsize is set to size width x height.
At the case of fitToBounding = FALSE, the panel will be opened at exact size you have entered and therefore should not be resizable anymore. This behavior is intentionally.
For further details have a look at our online documentation:
https://www.winccoa.com/documentation/W ... lSize.html
Br, Herbert