Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-15411

The ability to disable or enable individual buttons in a ButtonBar

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Button Bar
    • 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.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: