Disable single button in ToggleButtonBar

So after a short period of searching, there doesn't seem to be a straight-forward way to disable a single ToggleButtonBar button instance... here's what I found worked:

UIComponent(tBBInstance.rawChildren.getChildAt(X)).enabled/disabled

Anyone find a clearer way?

Comments
Same thing, a better way,

Button (tBBInstance.getChildAt(X)).enabled = true|false;

AFAIK, there is no method to get the reference of buttons..

-abdul
# Posted By Abdul Qabiz | 11/23/07 4:35 AM
<a href="http://www.flashlightcool.com/">Tactical Flashlight</a>
<a href="http://www.flashlightcool.com/">Flashlight</a>
<a href="http://www.flashlightcool.com/">Led Flashlight</a>
<a href="http://www.flashlightcool.com/">Led Flashlights</a>
<a href="http://www.flashlightcool.com/">Led Lights</a>
<a href="http://www.flashlightcool.com/">Rechargeable Flashlights</a>
<a href="http://www.flashlightcool.com/">Streamlight</a>
<a href="http://www.flashlightcool.com/">Tactical Flashlights</a>
<a href="http://www.flashlightcool.com/">Tactical Gear</a>
<a href="http://www.flashlightcool.com/">Tactical Light</a>
<a href="http://www.flashlightcool.com/">Tactical Lights</a>
<a href="http://www.flashlightcool.com/">Xenon Flashlight</a>
<a href="http://www.flashlightcool.com/">Xenon Flashlights</a>
<a href="http://www.flashlightcool.com/">Palights</a>
# Posted By Palights | 5/13/08 7:05 PM
Same thing, a better way,

Button (tBBInstance.getChildAt(X)).enabled = true|false;
truly agree, it\s better way
# Posted By josdf hty | 5/15/08 11:13 AM
Austin Powers: International Man of Mystery http://searchdvdmovies.com/04/16/austin-powers-int...
# Posted By aiols | 5/23/08 4:06 AM
Do you think xenon-headlights are the next step to increase safety?
# Posted By Xenon | 6/11/08 2:23 PM
# Posted By video game | 6/18/08 1:48 AM
# Posted By Patel | 7/8/08 10:15 AM
# Posted By Patel | 7/8/08 10:16 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.