How to move panel by mouse without title bar
- vy.nguyenthanh@biendongco.vn
- Posts:13
- Joined: Wed Sep 18, 2019 10:49 am
How to move panel by mouse without title bar
I only move a panel by mouse if that panel has title bar. Do you have any solution to move a panel without title bar? And how to change the displayed text on title bar.
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: How to move panel by mouse without title bar
vy.nguyenthanh@biendongco.vn wrote: ↑ Fri Nov 15, 2019 3:03 pmDo you have any solution to move a panel without title bar?
You could use the following:
The function 'moveModule'
The property 'windowFrameGeometry'
The property 'windowGeometry'
vy.nguyenthanh@biendongco.vn wrote: ↑ Fri Nov 15, 2019 3:03 pmAnd how to change the displayed text on title bar.
By default the name of the panel is shown in the title bar. Or the function 'setWindowTitle' can be used.
- vy.nguyenthanh@biendongco.vn
- Posts:13
- Joined: Wed Sep 18, 2019 10:49 am
Re: How to move panel by mouse without title bar
Thank you for your support but your first suggestions doesn't work in my case. I'd like to move my faceplate without using title bar. It means that when users drag the faceplate by their mouse then the faceplate is moved according to the coordinates of the mouse.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to move panel by mouse without title bar
Moving the panel by mouse when clicking on the title bar is a functionality of the window manager of the operating system, this is not a part of WinCC OA.
Why do you want to hide the title bar?
Best Regards
Leopold Knipp
Senior Support Specialist
Why do you want to hide the title bar?
Best Regards
Leopold Knipp
Senior Support Specialist
- vy.nguyenthanh@biendongco.vn
- Posts:13
- Joined: Wed Sep 18, 2019 10:49 am
Re: How to move panel by mouse without title bar
I want to hide the title bar to beautify my designed faceplate.
- dwright
- Posts:2
- Joined: Thu May 24, 2018 12:58 pm
Re: How to move panel by mouse without title bar
I understand that this is an old topic but I have a solution that works in Windows.
1. Press [Alt] + [Space] to bring up a menu with options like "Restore", "Move", "Size", "Minimize", etc
2. Press the down arrow to select "Move"
3. Press [Enter]
4. Press any arrow key. The window is now "attached" to you mouse cursor
5. Use your mouse to move the window to the desired location and click the left button on the mouse to drop it.
1. Press [Alt] + [Space] to bring up a menu with options like "Restore", "Move", "Size", "Minimize", etc
2. Press the down arrow to select "Move"
3. Press [Enter]
4. Press any arrow key. The window is now "attached" to you mouse cursor
5. Use your mouse to move the window to the desired location and click the left button on the mouse to drop it.