Accordion may not fully support enabled.  My guess is that you could go through the headers (using getHeaderAt) and set enabled to false on the individual headers.  Haven't tried it, but that's my thought.

 

Matt

 

-----Original Message-----
From: Ryan Olson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 3:29 PM
To: [email protected]
Subject: [flexcoders] Enabled property on Accordion?

 

Hi flexcoders,

Does the inherited "enabled" property have any effect on the Accordion
component? I tried this as a test:

<mx:Accordion label="test" enabled="false">
    <mx:Form label="foo"/>
    <mx:Form label="bar"/>
</mx:Accordion>

But the Accordion that shows up is still enabled (responds to header
clicks etc.).

- rdo



Reply via email to