Hello All,

I am trying to figure out a way, to deselect all the Buttons belonging
to a ToggleButtonBar Control, and I am hitting a brick wall.

I tried looping through the DataProvider using getChildAt(x) and setting
each 'Button.selected' equal to 'false' - but all that does, is removes
the dark border surrounding the presently selected Button.  Technically
the button is still selected, and it's all the more obvious in my case,
since I have a lot of styles applied to the selected Button.

I even tried setting the selectedIndex to '-1' as well as 'null' - in
hopes of putting the ToggleButtonBar back into it's "first time loaded
state", and still nothing works.

Could anybody help?

Thanks in advance,

Mike

Reply via email to