在组合框中通过键入几个字母搜索它 [英] search in combobox by type few letterin it

查看:105
本文介绍了在组合框中通过键入几个字母搜索它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我使用组合框的Autocompletecustomsource属性,按字母缩写的类型进行搜索
在其中,而这项工作是我想要的.
但我不要键入任何其他不在
中的内容 列表也一样.
请有人帮我.
非常感谢.

hello all,
I use Autocompletecustomsource property of combobox,to search by type afew letter
in it,and this work currectly that I wanted this.
but I want do not type anything else that it is not in
the list too.
please someone help me.
thanks alot.

推荐答案

设置:
myComboBox.DropDownStyle = ComboBoxStyle.DropDownList;


作为功能,自动完成"功能不会列出任何不匹配的内容.键入几个字母的空列表是自动完成"列表框后面的逻辑/功能.没什么可添加的.
As the functionality, AutoComplete wouldn''t list any content without match. The empty list on typing few letter is the logic/functionality behind AutoComplete list box. Therez nothing to add it.


这篇关于在组合框中通过键入几个字母搜索它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆