     *  @playerversion AIR 3.4
     *  @productversion Flex 4.10
     */
-    public function disableButton(labelValue:String, fieldName:String = ""):void
-    {
-        var btnCurrent:ButtonBarButton = null;
-        var buttonIndex:int = -1;
-
-
-        if (!dataGroup || labelValue == "" || labelValue == null)
-        {
-            return;
-        }
-
-        if (fieldName == "" || fieldName == null)
-        {
-            buttonIndex = findRowIndex(labelField, labelValue);
-        }
-        else
-        {
-            buttonIndex = findRowIndex(fieldName, labelValue);
-        }
-
-        if (buttonIndex == -1)
-        {
-            return;
-        }
-
-
-        btnCurrent = dataGroup.getElementAt(buttonIndex) as ButtonBarButton;
-        btnCurrent.enabled = false;
+    public function setButtonEnabled(labelValue:String, enabledValue:Boolean, fieldName:String = ""):void
+    {
+        setButtonsEnabled([labelValue], enabledValue, fieldName);
     }
 
 
     /**
     *  Disables several of a ButtonBar's Buttons, referencing them by the ButtonBarbutton's <code>label</code>. 
     *
-    *  <p>The function takes a single argument which is the ButtonBarButtons label.</p>
-    *  <pre>myButtonBar.disableButtons(["My Button Label1", "My Label2"])</pre>
+    *  <p>The method takes an array of ButtonBarButton labels, a new <code>enabled</code> property value, and an optional field name to search for.</p>
+    *  <pre>myButtonBar.setButtonsEnabled(["My Button Label1", "My Label2"], false)</pre>
     *
     *  @param labelValues Is an array of ButtonBarButton labels.
     *  @param fieldName Field used for comparing the label

        var loopingIndex:uint = 0;


        if (!dataGroup || labelValues.length < 1 || labelValues == null)
        {
            return;
        }

        if (fieldName == "" || fieldName == null)
        {
            buttonIndices = findRowIndices(labelField, labelValues);
        }
        else
        {
            buttonIndices = findRowIndices(fieldName, labelValues);
        }


        indicesTotal = buttonIndices.length

        if (indicesTotal == 0)
        {

        for (loopingIndex; loopingIndex < indicesTotal; loopingIndex++)
        {
            btnCurrent = dataGroup.getElementAt(buttonIndices[loopingIndex]) as ButtonBarButton;
            btnCurrent.enabled = enabledValue;
        }
    }

