在组合框中排序,具体取决于用户输入的棋盘游戏. [英] sorting in combo box depending on user entered cherecters.

查看:167
本文介绍了在组合框中排序,具体取决于用户输入的棋盘游戏.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...
组合框必须成为用户的好朋友..
我用Windows窗体开发了此应用程序.

即,当用户输入一个Cherecter时,该Cherecter项目的所有项目都会自动显示在该组合框的下拉列表中.

例如:

我的组合框中包含以下项目:.
1.苹果
2.香蕉
3.杏子
4.杏仁
5.黑莓

当用户输入组合框的下拉列表时,将显示苹果,杏,杏仁.
用户在下拉列表显示苹果,杏子后输入p.

谢谢你. .我不太确定ComboBox是否也附带该功能.对于基于Web的应用程序,我们可以提供Ajax AutoCompleteExtender.看看这是否对您有帮助.


Hi...
combo box must became user frendly..
i developed this application in windows forms.

i.e when ever user enter one cherecter, automaticaly all items of that cherecter items will disply in dropdown list of that combo box.

example:

my combo box have the following items..
1. apple
2. banana
3. apricots
4.almonds
5.Blackberry

when ever user enter the a drop down list of combo box show apple,apricots,almonds.
user enter p after a the drop down list show apple, apricots.

thanking u...

解决方案

Just set AutoCompleteMode to SuggestAppend and AutoCompleteSource to ListItems


You can probably use TextBox with AutoComplete feature. I am not too sure if ComboBox too comes with that feature. For web based applications, we have Ajax AutoCompleteExtender to serve. See if this helps you.


这篇关于在组合框中排序,具体取决于用户输入的棋盘游戏.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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