Check is tab exist or get tab collection


How i can check if a tab exist in a tabbar? or how i can get all tab ids from a tabbar?

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
so you can use
    for (id in tabbar.tabsId ) some_thing(id);
to get all ids

When i remove a tab with the method “removeTab(tab,mode)”, the id of tab removed is not deleted in the collection “tabbar.tabsId”

Answered at … sor%20drag