You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by flexcf <fl...@yahoo.com> on 2014/02/21 20:50:09 UTC

How do you find the child(label) inside the calloutbutton?  Want to remove
dynamically. Thanks !

Sample code below;

<s:CalloutButton id="toolsBTN" chromeColor="0x2A9FAA"
click="buttonclickHandler(event)" label="Sales"">
<s:calloutContent>
<s:BorderContainer borderWeight="2" minHeight="10" minWidth="10"
cornerRadius="5">
<s:layout>
<s:VerticalLayout paddingTop="0" paddingBottom="0" paddingLeft="10"
paddingRight="10" gap="0"/>
</s:layout>
<mx:HBox width="100%" height="40" horizontalAlign="center"
verticalAlign="top">
<s:Image source="{toolsIconS}" height="26" width="26"/>
<s:Label text="Sales Applications" styleName="BoldTitle" paddingTop="7"/> 
</mx:HBox>	
<mx:VBox width="100%" horizontalAlign="left" verticalAlign="top">
<s:Label id="compLBL" text="Competitive Tool" fontWeight="normal"/> 
<s:Label id="calcLBL" text="Calculator" fontWeight="normal"/>  
<s:Label id="rfprqaLBL" text="Proposal" fontWeight="normal"/> 
<s:Label id="ssdLBL" text="Profiler" fontWeight="normal"/> 					
</mx:VBox>
</s:BorderContainer>
</s:calloutContent>
</s:CalloutButton>



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/mx-CallOutbutton-removechild-tp5119.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.