Hi Madhavi,
I am not sure if this is what your looking for :
Create a custom panel component that extends Panel like
public class MyCustomPanel extends Panel{
override protected function createChildren() : void{
super.createChildren();
titleBar.addChild(add ur component here u wana add to title bar);
}
}
Use the above component in application in place of <s:Panel/>
Cheers,
Naveen
On Fri, Aug 5, 2011 at 7:00 AM, madhavi chinni
<[email protected]>wrote:
> Hi,
>
> I have a <mx:Panel> or <s:Panel> declared in the main mxml file .I
> want to add the items to the titleBar of that panel in the
> actionscript of the main mxml file.
> Is there a possibility to override the createChildren() method of that
> panel in the actionscript of the main mxml file?or Can we add items to
> the panel titleBar using any mxml tags?
>
> Any help is greatly appreciated.
>
> Thanks & Regards,
> Madhavi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.