0 Replies Latest reply on Feb 13, 2008 4:38 AM by MarkofBomo

    change default grey for selected linkbar linkbutton

    MarkofBomo
      Hello,

      I hjave a linkbar and i want to change the fiont color for the cueently selected item when its child is active, the thing is a have some items disabled in certain scenarios and having the active colour and enable-false colour the same looks daft, i jnow there is a way of changing the color of disabled items but light grey is about the only thing that looks right for these.

      i've tried

      mx.controls.LinkButton(lb.getChildAt(event.currentTarget.selectedIndex)).setStyle("color", "#990000");

      but this gets overridden on selection tot he default light grey

      put me out my misery

      Thanks

      Mark