This is undocumented so buyer-beware: tabNav['tabBar'].getChildAt(1).enabled=false"

 


From: [email protected] [mailto:[email protected]] On Behalf Of pilby1
Sent: Wednesday, July 27, 2005 3:17 PM
To: [email protected]
Subject: [flexcoders] Is there a way to selectively enable/disable Tabs?

 

If I had this:

    <mx:TabNavigator id="tabNav" width="250" height="200">

        <mx:Canvas label="Tab 1" enabled="true">
        </mx:Canvas>

        <mx:Canvas label="Tab 2" enabled="false">
        </mx:Canvas>

        <mx:Canvas label="Tab 3" enabled="false">
        </mx:Canvas>

    </mx:TabNavigator>

Is there a way I could selectively disable only Tab 2 and Tab 3?

Thanks.






--
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




Reply via email to