如何在组合框中输入 [英] How enable typing in a combo box
本文介绍了如何在组合框中输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在c#项目中使用了一个组合框。
即使我们没有从下拉列表中选择文本,我也可以输入文本。 br />
但它不允许输入。
我有下拉式下拉式但是仍然无法工作
请帮助
谢谢
问候
Nirmala Saravanan
Iam using a combobox in c# project.
I have able to type the text even if we are not selecting a text from the drop down.
But it is not allowing to type.
I have dropdownstyle as dropdown but still it is not working
Pls Help
Thanks
Regards
Nirmala Saravanan
推荐答案
如果你的DropDownStyle是DropDown,那么输入是允许的 - 我只是双重检查它工作正常,我可以完全愉快地输入一个不在我的列表中的项目。检查你是不是将它设置为DropDownList,如果你还没有,我们需要更多关于你使用ComboBox做的其他细节。
If your DropDownStyle is DropDown, then typing is allowed - I just double checked and it works fine, I can type an item not in my list perfectly happily. Check that you haven''t set it as DropDownList, and if you haven''t, we would need more details on else you are doing with the ComboBox.
这篇关于如何在组合框中输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文