I'm trying to make a combo box that behaves somewhat like the Firefox 3 Awesomebar, with the following behavior:
- Type in text
- Asynchronously bring back results
- Up and down selects results in the list, BUT leaves the text that was typed in the entry box so the user can continue editing to limit the resultset differently
- Enter fires an event that the parent form will handle
I have the asynchronous results and filtering all working, but I don't have a good method for displaying and selecting within the results.
A combo box automatically fills the entry box with what is selected when you arrow down. Fails #3.
I've got the DevExpress controls, but their combo box does the same thing and I can't figure out how to override either.
A LookupEdit does not allow typing arbitrary stuff. Neither does a PopupContainerEdit.
I want behavior that's like a textbox with a listbox below it, and up/down events in the textbox get passed to the listbox. But if I try to make a custom control that combines the two like that, I have no clue how to "float" the listbox like the dropdown on a normal combo box.
Clues much appreciated!