Good. Nothing stopping you from using the DoubleLabelButton as the itemRenderer; to retain the states. but you'd still have to manually set one of them as selected. So, not much more work to apply the skins to the new itemRenderer states.
-TH --- In flexcoders@yahoogroups.com, "vic8427" <vic.pow...@...> wrote: > > Great idea. Thanks! > > I tried extending button and ToggleButtonBar but the extended toggle button > bar through errors when I tried to override the createNavItem using any > object that was not strictly typed as Button. (i.e, DoubleLabelButton vs > Button) > > Although I'm giving up the predefined button states that had skins applied to > them, this works perfectly. > > > --- In flexcoders@yahoogroups.com, "turbo_vb" <TimHoff@> wrote: > > > > Well, you are talking about a Button, so either extent Button and > > ToggleButtonBar, or you can do it a lot easier using a HorizontalList and > > itemRenderer. Just set allowMultipleSelection="false". > > > > -TH > > > > --- In flexcoders@yahoogroups.com, victoria powers <vic.powers@> wrote: > > > > > > I'm trying to create a tag list that will display the name of the tag and > > > the number of posts associated with that tag. I want to use the > > > ToggleButtonBar so the user can choose only one tag at a time. > > > > > > The problem is that it will only accept one label. I need two, name of the > > > tag to the left and the post count to the right. > > > > > > I'm assuming that I will have to extend both, Button and Toggle ButtonBar. > > > Can someone point me in the right direction? > > > > > >