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
BlogCFC was created by Raymond Camden. This blog is running version 5.005.