Hello,
I am creating a Panel on MouseClick and i add as an item a button in that Panel. In that last Button i added a handler onMouseClick which closes the current Panel and open another with Ext.Create but the Panel still shows overlapping the second one created. How to avoid this behavior ? i tried to hide() but it's not working.
I tried (in the the handler ) to add this code : 
 var window =  Ext.create('widget.window', {
                hideMode: 'visibility'
             });
              window.hide();
But nothing
Sorry for troubling you chaps, it's solved now.
Hello,
I am creating a Panel on MouseClick and i add as an item a button in that Panel. In that last Button i added a handler onMouseClick which closes the current Panel and open another with Ext.Create but the Panel still shows overlapping the second one created. How to avoid this behavior ? i tried to hide() but it's not working.