尝试使用搜索功能制作列表 [英] Trying to make a list with a search function

查看:96
本文介绍了尝试使用搜索功能制作列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好男生和女生!

我试图用搜索功能制作一种菜单



例如:

我们有5个主题:

Apple

草莓

橙色

梨子

芒果

然后在列表的顶部需要有一种搜索框。当我输入示例Stra时,我将只能在我的列表中看到草莓。



我创建了一个带有搜索功能的列表框,但这不是真的我在寻找什么。希望你明白我的意思其他告诉我: - )!

Hello guys and girls!
Im trying to make a kind of menu with a search function

Example:
We have those 5 topics:
Apple
Strawberry
Orange
Pear
Mango
Then at the top of the list there needs to be a kind of search box. When i type example "Stra" then i will be only able to see Strawberry on my list.

I made a Listbox with a search function, but that was not really what i was looking for. Hope you understand what i mean otherweise tell me :-)!

推荐答案

您可能想要使用 ComboBox 自动填充功能。 请参阅 this [ ^ ] MSDN参考。



/ ravi
You may want to use a ComboBox with autcomplete.  See this[^] MSDN reference.

/ravi


这篇关于尝试使用搜索功能制作列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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