Alternative Combobox for Flex
On September 28, 2009, Components, Flex - 3 CommentsThe 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:
Download: ComboBox.as
What others have to say:
Did you forget to publish the source for the nl.flexperiments.controls package? Nice little component. I’d like to see the source code.
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.
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’…
Leave a Reply