0 Replies Latest reply on Jan 20, 2012 8:25 AM by isabelle loyer

    ToggleButtonBar - how to change color for only one button

    isabelle loyer Level 1

      I have a tooglebuttonbar (with 4 buttons) and I'd like to change the color of only one or two button according particular data. Is someone has experience to do that.

      I try to do like that

       var child:Button;
      = Button(tbbAction2.getChildAt(0));
      .setStyle('color', '#CC33CC');

      But there's no effect. Thanks a lot.