Windows in FullScreen mode

Dear all,

Maybe it is a silly (forgive me please then), but I’m still wondering if is possible to get dhxWindows in full screen “automatically”. I would like to create and initialize dhxWindows without having to set the width and height properties, set a “enableAutoViewport” to true for the
viewport, and then get windows in full screen directly.

Many thanks,
Regards,
vinc.

Hi,

you may call maximize() method after window creation:
win.maximize();

The “auto viewport” sample in the windows package is dhtmlxWindows/samples/02_viewports/inc/01_default_demo.html (try to call w1.maximize():wink:

HI,

Thanks a lot.
I’m too stupid, it was an “evidence”… I don’t know where I put my head sometimes.

Thanks,
Regards,
Vinc.