ULC childpanel resizable

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
ahti
Posts: 6
Joined: Tue Jan 07, 2014 9:12 am

ULC childpanel resizable

Post by ahti »

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

User avatar
hpuchegger
Posts: 38
Joined: Fri Oct 08, 2021 10:38 am

Re: ULC childpanel resizable

Post by hpuchegger »

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

Post Reply
2 posts • Page 1 of 1