Categories | Question details Back To List | ||
Window's minimize doesn''t works Hi. I have a problem with Dhtmlx Windows. My window's minimize function doesn't work with web skin. Center function works fine. Close function too. My sumarized code is : ... ancho = 200; alto = 350; x = 750; y = 100; ... dhxWins.setSkin('web'); win = dhxWins.createWindow('2', x, y, ancho, alto); win.bringToTop(); win.button('park').hide(); win.button('close').hide(); win.button('minmax1').show(); win.button('minmax1').attachEvent('onClick', temp); dhxAccord = win.attachAccordion(); dhxAccord.addItem("item1", "Filtros para consulta"); dhxAccord.addItem("item2", "Tematico"); dhxAccord.cells("item1").setIcon('find.png'); dhxAccord.cells("item2").setIcon('exclamation.png'); dhxAccord.cells("item1").attachObject(objeto); dhxAccord.cells("item1").open(); dhxAccord.cells("item2").attachObject(objeto3); ... function temp(){ dhxWins.window('2').minimize(); } I appreciate your help Thank you Nelson S. Answer posted by Support on Sep 11, 2009 06:01 Hello, In your case window already minimized. Window have 2 state - minimized (by the default after creation) and maximized (fullscreened). You window is already minimized. Probaly you mean "park" feature? Answer posted on Sep 11, 2009 06:40 Probably. Maybe the windows is minimized, but I see it with given dimensions. Minimized state is when I see only tittle bar? It's that I need. I need two states : The window with size defined (for example 200x500px), and minimized (or "park" ?) when I only see tittle bar. I don't need maximized state. Do you understand me? Appreciate your help. Answer posted by Support on Sep 14, 2009 03:33 So you need to call denyResize() method. Window will keep dimension and parkable (just header visible). |