0 Replies Latest reply on May 14, 2008 12:26 PM by lelibus

    custom ButtonBarButton

    lelibus
      Hi,
      I have a ToggleButtonBar in my app and I want to add a glow effect to the label of each of its buttons. I've read somewhere that I have to extend the Button class to add an effect to the button label instead of the entire button and I've done it, but there's a problem: now I have to build the ToggleButtonBar with my extended Button class, but the ToggleButtonBar component uses standard buttons and it's dataprovider accepts Object components that it internally translates in standard buttons.
      How can I tell to the ToggleButtonBar that I want to use my extended Button class instead of standard Button? Or how can I reach the same result in any other way?

      Thanks,

      Lelibus