将Tab键分配给Enter键 [英] Assign Tab key to Enter Key
本文介绍了将Tab键分配给Enter键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在输入键'Key Down event'的基础上设置了控件之间的导航。现在我希望如果用户按TAB键,它应该作为Enter键。
我正在使用vb.net 2008
I have set navigation among controls on the the basis of enter key 'Key Down event'. Now I want that if user press 'TAB' key, it should work as Enter Key.
I am using vb.net 2008
推荐答案
不要。
用户熟悉TAB和ENTER的作用:TAB将您带到下一个输入字段,ENTER接受一个充满信息的页面(或表单)。
如果你的应用程序破坏了那么那么用户就会感到困惑,这很糟糕 - 因为当事情不能按照他们的预期运行时,会导致问题,他们开始责怪你。
将它们分开:TAB有一个特定的功能,不要试图改变它。
Don't.
Users are familiar with what TAB and ENTER do: TAB moves you to the next entry field, ENTER accepts a page (or form) full of information.
If your application subverts that then users get confused, and that's bad - because when things don't work as they expect, it causes them problems and they start to blame you.
Keep them separate: TAB has a specific function, don't try to change that.
这篇关于将Tab键分配给Enter键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文