An elegant way for this interface to work?

in VS.NET 4.0:

So, I have some ComboBoxes that request a server for data that matches the text in the ComboBox when the ComBobox text changes (event).

I want the ComboBox to drop out when the request has been executed so that the user can see the results and possibly use them.

Problems:

Quick Queries => Quick Dropdown (not very useful)

Changing the contents of the drop-down list causes the text cursor to reset to the first position in the field. When entering more than 3 characters before the cursor moves to the first position, it is very difficult. is the default behavior of ComboBox by default, as far as I know.

Pressing down to scroll through the list of offers causes the first line at the top of the drop-down list to be placed in the text box. Preferably, this does not happen if the user did not press Return or click on it.

What I would like:

Overcoming problems with moving the cursor down. (this is first of all)

Arrow scroll list without having to select anything.

Limit the speed at which the server is requested.


I have my own solutions, but they seem terrible at the moment.

I process the drop-down list and query timings with Timer objects, but my implementation prevents the query from executing during user input, and the drop-down menu does not always happen at the right time if the user is too fast or too fast slow.

Thanks to those who are trying to help!

+3
1

, , , Combobox ListView. , , , Textbox, .
, Combobox -, .

+1

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


All Articles