Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的组合框在用户输入组合框时下拉并提供建议。
例如,如果用户键入“R”,则应建议所有以“R”开头的项目(例如 Roshan、Rohan、Rishan 等)。
我可以从数据库中获取数据,但问题是如何下拉组合框?
看属性comboBox
comboBox
AutoCompleteMode = Suggest; AutoCompleteSource = ListItems;