自动完成插入其中的任何文本值的控件 [英] A Control that autocomplete any text value inserted in it

查看:83
本文介绍了自动完成插入其中的任何文本值的控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我有一个文本框控件,可以自动完成用户在其中键入的文本值.但这不能满足我的要求,因为在键入第一个文本后,它会自动从db中自动完成,但是当我尝试用逗号分隔它时,尝试输入其他文本,它没有自动完成.现在要问的是,是否有任何控件可以自动完成您从数据库中输入的任何文本,或者我应该启用的文本框控件中是否有任何属性.

Hi guys
i have a textbox control that autocomplete the text value the user typed in it.but this is not doing what i want, because after i typed the first text it autocomplete it from a db, but when i try to seperate it with a comma and try to type another text, it didnt autocomplete it. Now what am asking is if there is any control that can autocomplete any text you entered in it from a db, or is there any property in the textbox control that i should enable.

推荐答案

是是否有任何控件可以自动完成您从数据库中输入的任何文本,或者我应该启用的文本框控件中是否有任何属性
普通的标准控件只处理一个文本,而不像您尝试的那样用逗号分隔多个文本.

只要您想要单个项目的自动完成功能,它就会起作用.如果您希望自动完成功能适用于第一项,那么您要输入逗号,然后再输入第二项自动完成功能,则需要为其开发控件.这不是标准的行为/功能,因此没有支持的控件存在.

此外,我什至没有看到其他人使用过这种控件-人们期望每个单词后的逗号都自动完成是不直观的.
is if there is any control that can autocomplete any text you entered in it from a db, or is there any property in the textbox control that i should enable
Normal standard controls does for only one text and not multiple text separated by commas as you are trying to do.

As long as you want an autocomplete for single item, it will work. If you want that autocomplete works for first item then you put a comma and again second item autocomplete, you need to develop your own control for it. It''s not a a standard behavior/feature and thus no supporting control exits.

Further, I have not even seen such control used by others - it''s not intuitive for a person to expect autocomplete for every word post comma.


这篇关于自动完成插入其中的任何文本值的控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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