PDA

View Full Version : layout manager tab request



ChrisW
3 Feb 2007, 9:17 AM
Two points.
a) When using layout manager containing panels with tabs could the default location for the close image (x) be associated with the tab and not the titlebar. If the Titlebar is set to false then the user does not have access to a close icon. This is also in keeping with the Firfox model.

b) How do I set an event when a tab button is pressed. I want to know which the currently active panel is so I can maintain it and also want to offer the user a blank tab at the end of the other tabs. If the user populates that content panel than I would create a new blank tab

thanks in advance

Animal
3 Feb 2007, 9:49 AM
a) Region config option closeOnTab:true

b) http://www.yui-ext.com/deploy/yui-ext/docs/ See the "beforetabchange" event of TabPanel.