Test for full screen event.

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
vladimir
Posts:25
Joined: Thu Jan 23, 2014 1:34 pm

Test for full screen event.

Post by vladimir »

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.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Test for full screen event.

Post by Gertjan van Schijndel »

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.

Post by mkoller »

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()

vladimir
Posts:25
Joined: Thu Jan 23, 2014 1:34 pm

Re: Test for full screen event.

Post by vladimir »

Thanks Gertjan, I try it!

Martin, I want a maximized window. Sorry, I did not specify it before.

4 posts • Page 1 of 1