Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Language Found: English
Description
The enabled state of each button in a ButtonBar should be controllable, allowing for more flexibility and functionality.
Workaround:
1) if you are using a ViewStack as a ButtonBar data provider, you can set the "enabled" property on the ViewStack container's children (ie: <mx:VBox label="One" enabled="false" />). See attached main.mxml file.
2) if you are using strings as a ButtonBar data provider, you can set the enabled property for each ButtonBar button by using the getChildAt() method on the ButtonBar instance. See attached main.mxml file.