如何使Tabindex转到表单中的关闭按钮
我的公司要求我将我的VB.NET应用程序友好,以友好使用键盘,叙述者等使用可访问性功能的人...
我注意到,当在键盘中使用选项卡时,焦点不会关闭表格中的按钮。有没有办法确保何时使用标签进入关闭按钮?
I have been asked by my company to make my vb.net app friendly to those who use accessibility features, like keyboard, narrator, etc...
I have noticed that when using tab in the keyboard, the focus do not go to the close button in the form. Is there a way to make sure when some one is using the tab to go to the close button?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果要通过键盘触发系统对话框,则可以在相关控件上检查选项卡键,然后使用sendkeys打开对话框。
If you want to trigger the system dialog through the keyboard you can check for a TAB key press on the control in question and then use SendKeys to pop the dialog open.