Hi all and thanks in advance,

I have a user component based on a panel that I want to add a 
checkbox to the titlebar.  I can add the checkbox, but the label is 
missing.  In fact, what I'm setting the label to is turning into a 
tool tip.  Anyone have ideas?  My code follows.

Thanks,
Aaron

**************CODE*****************
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"; 
creationComplete="AddChecksforCompare()" layout="absolute" 
width="594" height="570" >

<mx:Script>
   <![CDATA[
        import mx.controls.CheckBox;
public function AddChecksforCompare():void
  {
   var chk:CheckBox = new CheckBox()
   chk.label = "BlueBox";
   chk.id = "chkBlue";
   chk.x = 350;
   chk.y = 10;
   chk.labelPlacement = "right";
   this.titleBar.addChild(chk);
  }              
  ]]>
    </mx:Script>
**************END OF CODE*****************






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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