如何在焦点上显示所有组合框项目

如何在焦点上显示所有组合框项目

本文介绍了如何在焦点上显示所有组合框项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个Windows应用程序,其中交互是100%键盘,因此用户使用标签移动小部件和选项。

当用户进入此页面时,重点是文本框,所以他可以写在那里,如果他选中,他会转到组合框,默认显示item1。如果他按下箭头,组合框显示item2。这里的问题是,用这种方式用户不知道组合框的所有选项,除非他按下直到最后一个选项。

我想要的是当用户输入时,重点是文本框。然后,当他选中并进入组合框时,我希望这个组合框显示所有选项(当您用鼠标单击时,您可以看到列表中的所有选项)。



我尝试了什么:



我一直在寻找下拉选项和视图,但找不到一个使...你知道是否有任何选择吗?

I am making a windows application in which interaction is 100% keyboard so the user moves around widgets and options using tab.
When user enters this page, the focus is on textbox, so he can write there and if he tabs, he goes to the combobox which is showing item1 by default. If he presses down arrow, combobox shows item2. The problem here is that with this way the user don't know all the options of the combobox unless he press down until the last option.
What I want is when user enters, the focus is on textbox . BUT then, when he tabs and goes to combobox, I want this combobox to show all options (as when you click with the mouse, that you can see all the options in a list).

What I have tried:

I have been looking for dropdown options and views but couldn't find one that makes that... do you know if there is any option to do that?

推荐答案


这篇关于如何在焦点上显示所有组合框项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 14:35