Yes, but you have to float buttons over the header.  Someone may have
done this already.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of kundigee
Sent: Monday, September 17, 2007 8:27 PM
To: [email protected]
Subject: [flexcoders] Adding buttons to an Accordion header

 

I am dynamically creating an Accordion at run time. I place a new 
panel in the Accordion which generates a new Accordion header that I 
attribute an icon to. All good so far. I need to dynamically place +/-
buttons on the right side of each header to give the user the ability 
to replicate, or delete the panel/Accordion component. I can't seem to 
addChild to the header with a child button. The Accordion header is a 
button itself and not a container. I started to create a custom MXML 
module extending Button, which I intended to substitute via the 
headerRenderer if I could work something out, but that also will not 
allow me to drop anything onto the component, as it is not a container.

Is there any way to do what I am trying to accomplish?

 

Reply via email to