Alternative Combobox for Flex

On September 28, 2009, Components,Flex - 6 Comments

The default flex combobox has keyboard navigation support, but it’s not how you’d expect keyboard support to be. For instance, if you have a list with the following items: ‘aa’, ‘ab’, ‘ba’, and you first press ‘a’, and then ‘b’, a windows combobox would select ‘ab’, whereas the flex combobox selects ‘ba’. This is because the flex combobox only checks the first letter of a list item and handles every keypress as a separate action.
The alternative combobox handles like a windows combobox and selects ‘ab’. Feel free to download and use it in your projects.

Example:

Get Adobe Flash player

Download: ComboBox.as



What others have to say:

1

Did you forget to publish the source for the nl.flexperiments.controls package? Nice little component. I’d like to see the source code.

2

The source is not completed, you forget to include the nl.flexperiments.controls.ComboBox

In fact, I found the component does not responsive sometime, you would reset the command receiver after 5 seconds. Right now, I need to input something like “D” to make the command receiver work again.

3

Yeah, the ComboBox is not in the viewsource (I forgot), you can download it in the link beneath the example tho. Or here: http://components.flexperiments.nl/?v=combobox

I’m not really sure what you mean with ‘the command receiver’…

4

Thanks for this ComboBox. Worked like a charm and got a few end users off my back!

5

Heya, we’d like to buy you a beer to thank you for this component. Please email us and let us know your PayPal info, thanks!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Submit comment