Categories | Question details Back To List | ||
Check is tab exist or get tab collection Hi, How i can check if a tab exist in a tabbar? or how i can get all tab ids from a tabbar? Answer posted by Support on Apr 30, 2008 09:26 You can use next inner method to check tab existence if ( tabbar._getTabById(id)) alert("exists"); The next collection is a hash of id => tab tabbar.tabsId so you can use for (id in tabbar.tabsId ) some_thing(id); to get all ids Answer posted by PCBiker on May 01, 2008 02:58 When i remove a tab with the method "removeTab(tab,mode)", the id of tab removed is not deleted in the collection "tabbar.tabsId" Answer posted by Support on May 02, 2008 05:23 |