Search code examples
internet-explorerbrowserextjsextjs3

How to know whether the window is maximized or minimised in extjs?


Does any one know how to check whether the form is maximised or minimised in IE8.

Raj


Solution

  • Its solved by using this code:

    var S = this.tabpanelFormation.getPosition();
        if (Ext.isIE8 && S[0] == 751) {
                this.tabpanelFormation.setPagePosition(749,370,true);
                this.tabpanelFormation.setHeight(230);
                this.tabpanelFormation.setWidth(350);
        }
    

    If its maximised then S[0] = 751. By this we can find whet