predictive? can you elaborate more?
my combobox is editable too, so I would like implement a predictive combobox...
like when you select a country in a combobox:
if you press "a" in your combobox appears "australia", if you press again you got "afghanistan"...
if you press "al" you got "albania"...
if there is no data you just can fill the combobox as an InputText.
don't know if it helps but recently I asked about how to code auto-complete text entry boxes where some suggestions were shown after you typed a first character - see recent thread "Mimic browser prior-value suggestions for text input" for ideas offered by a couple of people.
This "secretly" uses a combo that just happens to start off looking like a text box so might be adapted to your situation. I used the local storage ability of Flex - among other advantages this allows the previous choices to show up even if you use a different browser - but from memory some of the sample code I was pointed at used other holding mechanisms like XML
The current implementation of combobox already supports part of the behavior you need.
You type 'c' and it scrolls to the first item starting with 'c'. If you type 'c' again it selects the second, and so on.
Afaiu, you need something with autocompletion. In this case you might want to have a look at yahoo's astra library
But it is just a text input field and not a combobox.
cool! but that is not a combobox
It doesn't look like Adobe has the reply via e-mail thing working yet; so this is a repost of my other post that didn't get posted.
I have heard these called AutoSuggest or AutoComplete. If you Google it you'll find a few.built in Flex. Most of the ones I know about have been mentioned by others.
My component company, www.flextras.com is preparing an AutoCompleteComboBox that will be coming out within the next few weeks.
We'll be giving an on-line demo of it at our weekly Friday meetup at http://experts.na3.acrobat.com/flextras/ at 1pm EST ( http://www.timeanddate.com/worldclock/fixedtime.html?hour=13&min=0&sec=0&p1=98 )
That is Friday the 10th for those viewing this at some later point.