选择组合框值 [英] selecting combobox value

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

问题描述


用户在键盘上键入时如何选择组合框列表值.
我的组合框列表样式下拉.

Hi,
How can we select combobox list value when user types on keyboard.
my combobox list style is drop down.

thanks in advn.

推荐答案

1.组合框必须具有焦点.使用TAB键更改焦点.这是由操作系统完成的.
2.根据组合框,使用箭头键和其他键来导航组合框.您可能需要使用箭头键. (上/下).这也是由操作系统完成的.
3. ENTER选择当前索引.同样,由操作系统完成.
4.大多数组合框都是独立工作的,您可以为它们创建事件处理程序.这似乎让您挂断了电话.
1. The combobox must have focus. Focus is changed with the TAB key. This is done by the OS.
2. Depending on the combobox, the ARROW keys and other keys are used to navigate the combobox. You probably will want to use the arrow keys. (UP/DOWN). This is also done by the OS.
3. ENTER selects the current index. Again, done by the OS.
4. Most comboboxes work on their own and you create event handlers for them. This is what seems to have you hung up.


这篇关于选择组合框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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