There is two ways to do this.

One is documented and the other is not (it may not work in future
versions)

The documented way is to use a TabBar with a ViewStack instead of a
TabNavigator.

That way you can access the children of the TabBar and enable or
disable them individually.

The other way is to access a hidden property of the TabNavigator to do
the same thing but its not supported and I can't remember the property
names and I don't feel like looking it up again.

Just search google.

Examples are out there.



--- In [email protected], "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

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