Awesomebar-like behavior with Windows Forms

I am trying to create a combo box that behaves like a Firefox 3 Awesomebar with the following behavior:

  • Enter text
  • Return Results Asynchronously
  • Up and down selects the results in the list, BUT leaves the text that was entered in the input field so that the user can continue editing to limit the set of results in a different way.
  • Enter raises an event that the parent form will handle.

I have asynchronous results and filtering all working, but I do not have a good method to display and select in the results.

A companion block automatically fills the input field with what is selected with the down arrow. Failed # 3.

I have DevExpress controls, but their combo box does the same, and I cannot figure out how to override.

LookupEdit does not allow printing arbitrary things. Also not PopupContainerEdit.

I want the behavior to look like a text box with a list below it, and the up and down events in the text box are passed to the list. But if I try to create a custom control that combines these two types, I don’t know how to β€œswim” in the list, like in a drop-down list in a regular combo box.

Keys are much appreciated!

+3
source share
2 answers

, . , TextChanged, , KeyPress .
.

, , , - .

+3
+3
source

Source: https://habr.com/ru/post/1698546/


All Articles