组合框问题 [英] Combobox Problem
问题描述
我有一个组合框。共有5件商品。
古吉拉特邦
Maharashtra
孟买
德里
Deharadun
当我点击组合框时,当我从键盘控制按M键时,应该转到从M开始的项目。如何为此做代码?
I have one combobox. There are 5 items in it.
Gujarat
Maharashtra
Mumbai
Delhi
Deharadun
When i click on combobox and when i press M key from keyboard control should go to items starting from M. How to do code for this?
推荐答案
hi,
我有一个组合框。共有5件商品。
古吉拉特邦
Maharashtra
孟买
德里
Deharadun
当我点击组合框时,当我从键盘控制按M键时,应该转到从M开始的项目。如何为此做代码?
I have one combobox. There are 5 items in it.
Gujarat
Maharashtra
Mumbai
Delhi
Deharadun
When i click on combobox and when i press M key from keyboard control should go to items starting from M. How to do code for this?
将其排序属性设置为tru ..
输入M并按下dwn箭头键
ur at the第一点
set its sorted property to tru..
type M and press dwn arrow key
ur at the first point
...当我点击组合框时,当我从键盘控制按M键时,应该转到从M开始的项目。怎么做这个代码?
...When i click on combobox and when i press M key from keyboard control should go to items starting from M. How to do code for this?
如果您将 .Style 属性设置为 2 - 下拉列表,这将有效。
This will work if you set the .Style property to 2 - Dropdown List.
如果将 .Style 属性设置为 2 - 下拉列表,这将有效。
This will work if you set the .Style property to 2 - Dropdown List.
设置后,如何编写代码。我想像在VB中一样做。当在VB中显示弹出窗口时,当我按下第一个字母时,该列表中的所有项目都被选中,控件直接转到列表中的第一个项目。
After setting to it, how to write the code. I want to do like same as done in VB. When popup window is displayed in VB, and when i press first letter, all the items in that list get selected and control directly goes to the first item in the list.
这篇关于组合框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!