Why can't you follow the call to createTab() with newTab.dsID = "foo"?

- Gordon

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mink, Joseph
Sent: Thursday, September 01, 2005 7:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TabNavigator's createTab method

Hi,
 
I have a custom tab class that extends Canvas:
 
*class DSTab extends Canvas...

This class has a member that needs to be set at the time of
construction:

*public var dsID:String;

I've been using TabNavigator.createTab method to add a new DSTab when
necessary:

*var newTab = dsTabNavigator.createTab
  (DSTab, //The class type.
   currentDS.getID () + "-tab",  //The name for the instance.
   currentDS.getDisplayName ()); //The label for the tab.

This works, but I can't set the value of the new DSTab's dsID member.  I
considered using dsTabNavigator.createChild, but I can't set the label
on the tab.

Does anyone have any suggestions?  Thanks,
Joey



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



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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