You can subclass mx.controls.tabBarClasses.Tab, and add override the 
createChildren method to create the close button, override the 
updateDisplayList to position the button.  Then, you need to subclass 
mx.controls.TabBar to make use of your new Tab class instead of the 
existing one.  Then, you can subclass TabNavigator, to use your new TabBar 
class instead of the existing one.

Its really not that tough to do.

At 02:43 PM 8/1/2006, flxcoder wrote:

> >
> > I have a way of removing the tab from the tabnavigator using
> > tabs.removeTabAt(x), but I am looking for a way to add an X on top of
> > the tab, something similar to the way editors in eclipse do.
> >
> > any clues?
> >
>any ideas?
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to