是否可以在运行项目之前用40000个单词填充组合框,如果可以的话,我们该怎么办 [英] is it possible to fill combobox with 40000 words before running project ,if it is then how we can do

查看:78
本文介绍了是否可以在运行项目之前用40000个单词填充组合框,如果可以的话,我们该怎么办的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一本字典,我想通过设置自动完成模式来建议将所有自动单词添加到组合框中,并将自动完成添加到该组合框中,但是问题出在这里,当我将我的单词粘贴到组合框中时,它得到了一些不是全部,我再也不能添加任何文字了.
任何帮助将不胜感激.
BR.

i have a dictionary and i want to add auto complete to a combobox by set the autocompletemode to suggest and put all of my words to that combobox, but the problem is here when i paste my words to the combobox it just get some of the not all of them and i couldn''t add any more words.
any help will be appreciated.
BR.

推荐答案

首先,这不是一个好的解决方案/想法.

无论如何,您都可以将ComboBox.MaxDropDownItems设置为最大100.

这里是一个链接.
Well first of all that is not a good solution/ideea.

Anyway you can set the ComboBox.MaxDropDownItems to maximum 100.

Here''s a link.


非常感谢,但您建议为我的组合框创建自动填充单词
我的意思是,当用户输入A组合框时,建议相关单词并从文件中获取这些相关单词
thanks alot but what do you suggest to create autocomplete words for my combobox
i mean when user enter A combobox suggest related words and get those related words from a file




真的很好的问题.我不知道此解决方案是否适合您的问题.

您可以创建一个自定义控件,因为更多的记录需要更多详细的搜索条件.因此,创建您自己的自定义控件并通过它可以实现它.

如果您需要有关如何创建自定义控件的想法,请告诉我.

谢谢
-Amit.
Hi,

Really good question. i don''t know if this solution fit in your problem.

you can create one custom control as more number of record need more detail search criteria. so create your own custom control and through that you can achieve it.

let me know if you need idea about how you will create customized control.

Thanks
-Amit.


这篇关于是否可以在运行项目之前用40000个单词填充组合框,如果可以的话,我们该怎么办的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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