输入导致问题的关键 [英] Enter Key Causing Problems

查看:76
本文介绍了输入导致问题的关键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个计算器,上面有很多按钮。当按下按钮(例如1)然后按下回车键时,回车键会按下相同的按钮。那么当我按下回车键时,如何按下回车键按下计算器上先前按下的按钮?

提前谢谢。

解决方案

< blockquote> [Enter]键将按下按钮,因此按下任何按钮后你应该将焦点移动到其他地方......


Hi Guys,
I have a calculator, on which there are many buttons. When press a button (e.g. 1)and then press the enter key, the enter key presses the same button. So how can I prevent the enter key pressing a previously pressed button on the calculator when I press the enter key?
Thanks in advance.

解决方案

The [Enter] key will hit the button in focus, so after press any button you should move the focus to some other place...


这篇关于输入导致问题的关键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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