开发者

WIndows Combobox AutoComplete - can you set the duration of typing time?

We use ComboBoxes in our Winforms app with type-ahead functionality enabled (AutoCompleteMode property = Suggest, AutoCompleteSource = ListItems). When the user starts typing, the ComboBox will jump ahead to match what has been typed, as intended. But if the user pauses for a second or two in the middle of their typing, the AutoComplete "resets" and the next character they type will then be used as a new starting point for the autocomplete.

For example, say they t开发者_如何学编程ype "Bike" - the ComboBox will jump to the "Bikes" entry in the ComboBox. But say they type "Bik", then pause for a few seconds, then type "e" - the ComboBox will forget about the typed "Bik" and jump to the first entry to start with "e".

Our users have expressed a desire to extend the amount of time in which they get to type before it "resets". Does anyone know if there's a way to configure this or code around it?


No luck, the IAutoComplete API used by the ComboBox does not have any such option.


You should be able to find out by using .net reflector on the System.Windows.Forms namespace and looking for the control in code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜