Per the docs, the “selectedChild” property is available on the TabNavigator.

 

Also, getChildAt() will return a child based on index.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Sandip Patil
Sent: Monday, June 05, 2006 1:17 AM
To: [email protected]
Subject: Re: [flexcoders] refering to a particular tab in TabNavigator FLEX1.5

 

Hi,

 

To change color,

 

once u get selected tab ,

 

 then inside that function write--->    id of selected tab.setStyle("color","#FF9900");

 

 function selectedTab(){
     if(selectedtabNavigator.selectedIndex==0){
         id of tab.setStyle("color","#FF9900"); ;
       }


naveen kumar <[EMAIL PROTECTED]> wrote:

Thanks for replay,

but here my intention is to change the perticular tab text color , for that
i need to access the particular tab, can you give me the snippet for that

thanks


>From: Sandip Patil <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: Re: [flexcoders] refering  to a particular tab in TabNavigator
>FLEX1.5
>Date: Thu, 1 Jun 2006 23:50:33 -0700 (PDT)
>
>Hi,
>
>   <mx:TabNavigator id="selectedtabNavigator" change="selectedTab()" >
>
>
>   & selectedTab() function is,
>
>   function selectedTab(){
>     if(selectedtabNavigator.selectedIndex==0){
>         mx.controls.Alert.show("HI") ;
>       }
>
>
>   Sandip
>
>
>naveen kumar <[EMAIL PROTECTED]> wrote:
>   Hi all
>
>Can any one plese tell me the way to refer to a perticular tab in the
>TabNavigator in FLEX1.5
>
>
>Thanks & Regards
>Naveen kumar
>
>_________________________________________________________________
>Fall in Love... Get married! Join FREE!
>http://www.shaadi.com/ptnr.php?ptnr=msnhottag
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>   SPONSORED LINKS
>         Web site design development   Computer software development  
>Software design and development     Macromedia flex   Software development
>best practice
>
>---------------------------------
>   YAHOO! GROUPS LINKS
>
>
>     Visit your group "flexcoders" on the web.
>
>     To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
>---------------------------------
>
>
>
>
>  __________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com

_________________________________________________________________
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search
http://server1.msn.co.in/profile/shahrukh.asp

 

 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to