You can change the label directly. Look into the protected textInput
field of ComboBase. You can easily extend the ComboBox class to expose
this textInput as public; and then update it directly.
Richard Rodseth wrote:
The full story is too long to relate and involves the component which
has given me more grief than any other - ComboBox. I'm pretty sure I
established a while ago that there's a bug in using a ComboBox with a
bound value for selectedIndex.
I have one whose dataprovider (and current selected index) are both
highly dynamic (changing in response to changes in another combobox).
There is a circumstance in which the displayed label does not update
until you roll over the combobox, or sometimes click on it. Is there a
brute force way I can make it update? I've tried various invalidateXXX
methods.
--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust