开发者

How to Disable dynamic searching when typing in a listbox

I want to disable default search when typing in the listbox.

For example I type L 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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜