Hello All.
How to find a moment, when the module size is enlarged to full screen by standard windows control buttons (middle button at the right-top). I need do "titleBar(FALSE, myModuleName());".
I am using getPanelSize function when "myUiDpName()+".ModuleFocus.ModuleName" is changed - but no good result.
in config:
[ui]
sendModuleFocusDp = 1
Thanks.
Test for full screen event.
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: Test for full screen event.
You could use the 'Zoom' event of your basepanel and 'getZoomFactor' or since 3.13 'panelSize' with the currentSize argument to determine if the panel is enlarged to fullscreen.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Test for full screen event.
I'd say this is the wrong approach.
There's a difference for a user wanting to have a window maximized or to have it full-screen.
See also the CTRL functions: moduleMaximize() and moduleShowFullScreen()
There's a difference for a user wanting to have a window maximized or to have it full-screen.
See also the CTRL functions: moduleMaximize() and moduleShowFullScreen()
- vladimir
- Posts:25
- Joined: Thu Jan 23, 2014 1:34 pm
Re: Test for full screen event.
Thanks Gertjan, I try it!
Martin, I want a maximized window. Sorry, I did not specify it before.
Martin, I want a maximized window. Sorry, I did not specify it before.