PDA

View Full Version : [solved} How do I reference the _ [] X in the title bar?



Elijah
6 Apr 2010, 7:33 AM
I want to not show the [] button that appears in the titlebar of a panel. How can I hide this particular button?

fay
6 Apr 2010, 7:58 AM
http://www.extjs.com/deploy/dev/docs/?class=Ext.Panel&member=closable

Elijah
6 Apr 2010, 11:20 AM
Right, but I want to keep the _ and the X.

If I can not do that, then how can I override the handler for the [] so I can have it do something else instead of taking up the realestate of the screen?

Animal
6 Apr 2010, 12:27 PM
They are "tools", and you only get them if you ask for them. See docs

Animal
6 Apr 2010, 12:29 PM
I think I'll join this group on second thoughts: http://www.facebook.com/pages/youre/113907335288946?ref=nf

Elijah
6 Apr 2010, 5:42 PM
They are "tools", and you only get them if you ask for them. See docs

Thank you this is what I needed to know.



myWindow.tools['maximize'].setVisible(false);