组合框用户仅输入列表项的值! [英] combobox user input only list item values!

查看:57
本文介绍了组合框用户仅输入列表项的值!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个带有项目列表的组合框,并且启用了describe属性,但是我希望用户只能输入列表中的值,例如,如果他要写的字母不是第一个列表中任何项目的字母,他都不能写.

抱歉,如果您不太了解我,因为我不是英语;)

提前thnx

Hello everybody,

I have a combobox with a list of items,and i have the suggest append property enabled,but i want that the user can input only values that are in the list,for example,if the letter he is trying to write its not the first letter of any item in the list,he cant write that.

P.S-Sorry if you dont understand me very well,becouse im not english ;)

thnx in advance

推荐答案

不太清楚,但听起来应该可以解决问题,请看一下:ComboBox.AutoCompleteMode属性 [
Not too clear but sounds like this should do the job, have a look: ComboBox.AutoCompleteMode Property[^]


这篇关于组合框用户仅输入列表项的值!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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