// Disable Tab2
tabNav.getChildAt(1).enabled = false;;

// Disable Tab3
tabNav.getChildAt(2).enabled = false;;

Should do the trick?

On 7/28/05, pilby1 <[EMAIL PROTECTED]> wrote:
> 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
> 
> 
> 
> 
> 
> 
> 
> 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com


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