I want to disable default search when typing in the listbox.
For example I typeL
and the M
into the listbox, the focus should move to string starting with LM
, but here focus moves to string starting with M
.
This is because the default behaviour algorithm/c开发者_JAVA技巧ode that I have written gets overwritten and the focus moves to string starting with M
. Sounds like you want to implement auto-complete on the combo box. The easiest way to do this is inherit from the system combo, and handle the KeyUp
event to implement the functionality.
精彩评论