Hi,
Just wondering how i can remove the frame of my panels, when I open any panel as window or pop-up.
From the help file I found out that it can be done via windowFlags / FramelessWindowHint. But how to do that, I am not sure.?
Can any one help me on that.?
Secondly how I can resize my standard face plate. Is is some thing defined int he hook function.?
thanks
Ilyas.
Window / Panel Properties via CTRL
Search
Re: Window / Panel Properties via CTRL
"windowFlags" is the property of a panel. It can be set using setValue like setting the property of an object.
E.g. in the Initilaize event of the panel: setValue("","windowFlags","FramelessWindowHint");
Concerning your question to resize a panel.
Shall the user be able to resize the panel or do you want to it via CTRL code?
Best Regards
Leopold Knipp
Senior Support Specialist
E.g. in the Initilaize event of the panel: setValue("","windowFlags","FramelessWindowHint");
Concerning your question to resize a panel.
Shall the user be able to resize the panel or do you want to it via CTRL code?
Best Regards
Leopold Knipp
Senior Support Specialist
-
ilyas_ahmed
- Posts: 19
- Joined: Wed Sep 06, 2017 7:39 am
Re: Window / Panel Properties via CTRL
Hi Leopold,
Thanks for that , yes it did work.
I want to fix the faceplate size form the CTRL, but couldn't find out where its been defined in the hook functions. I building a project specific library based upon stdlib.
Regards,
Ilyas.
Thanks for that , yes it did work.
I want to fix the faceplate size form the CTRL, but couldn't find out where its been defined in the hook functions. I building a project specific library based upon stdlib.
Regards,
Ilyas.
Re: Window / Panel Properties via CTRL
With the CTRL function saetPanelSize() you resize a panel during runtime.
I didn't look at the code of the StdLip to see where the function is used. Maybe you find it by searching for the CTRL function.
Best Regards
Leopold Knipp
Senior Support Specialist
I didn't look at the code of the StdLip to see where the function is used. Maybe you find it by searching for the CTRL function.
Best Regards
Leopold Knipp
Senior Support Specialist
-
ilyas_ahmed
- Posts: 19
- Joined: Wed Sep 06, 2017 7:39 am
Re: Window / Panel Properties via CTRL
Hi Leopold,
thanks for the help , actually i did some work on it myslef and found out that the stdlib uses a framework panel as main faceplate window. this main framework panel is located at WinCC_OA/3.15/Stdlib_3.15/panels/objects_parts/faceplates/framework/faceplate_main.pnl ,
opening of the faceplate is done by the project hook function which builts the faceplates on the framework main faceplate. its possible to resize the framework faceplate.
Best regards,
Ilyas
thanks for the help , actually i did some work on it myslef and found out that the stdlib uses a framework panel as main faceplate window. this main framework panel is located at WinCC_OA/3.15/Stdlib_3.15/panels/objects_parts/faceplates/framework/faceplate_main.pnl ,
opening of the faceplate is done by the project hook function which builts the faceplates on the framework main faceplate. its possible to resize the framework faceplate.
Best regards,
Ilyas