如何禁用退格键 [英] How to disable backspace

查看:117
本文介绍了如何禁用退格键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法禁用退格键,这样当我在表单中输入文本并点击退格键时,如果我的光标位于文本框之外,我不会意外地返回页面?

对于有论文的在线大学测试来说,这是一个主要问题,因为如果你点击退格,你最终会在一篇文章的中间结束你的测试。

注意 - 我不想禁用它作为网络开发人员,而不是客户端。 (IE,有很多关于在你编写的网页上禁用退格的代码;我想知道如何为我的IE 6副本的所有网页禁用它。)谢谢。
Jon < br>

解决方案

Hello Jon,


据我所知,你所说的就是需要要更改的键盘配置的编码,例如在资源管理器(我的电脑等,而不是Internet Explorer)中,并且单击退格键,它将带您到上一页,所以如果你在c: \驱动它会带你回到我的电脑等。现在我不知道这是怎么做到的,因为我没有编码天才,但是有一种方法来解决这个问题。


根据您的键盘,多媒体键盘附带的软件允许您更改键配置,因此可以将退格键更改为不转到上一个屏幕,但这将是更改它在Windows中的运行方式,因此您将无法使用它返回任何资源管理器窗口以及Internet Explorer。我的键盘是Microsoft intelliTypePro无线,它附带了允许你修改键设置的软件。


我不知道这是否可以在普通键盘上完成,或者你是否需要要成为多媒体键盘,请尝试搜索任何更改关键功能的软件。这只是一个解决你的问题的解决方法,并不是意味着解决问题,尝试给它以前,看看这是否解决了问题,另一个想法是设置另一个键"goto上一页"的功能所以你没有失去这个功能。如果您想了解更多信息,请通过 ozolayer@hotmail.com 告知我


Omar Abul-Ragheb


 


 编辑:我设法找到一些软件无论您使用什么键盘,都可以使用它,转到 http:/ /www.softboy.net/ 向下列出的第四和第五个软件都是免费试用版,因此您可以对它们进行测试,看看它们是否能产生预期效果...


更好的是这两个网站提供免费软件为您更改键盘功能,http://www.randyrants.com/sharpkeys/ http://www.randyrants.com/sharpkeys/ 提及o n http://en.wikipedia .org / wiki / Computer_keyboard ,它还包含有关键盘信息和布局的更多信息。


我没有尝试过任何软件,所以如果其中一个软件给别人留下一些反馈意见解决问题,并记住这些程序将重新映射关键功能,以便它们也会在Windows中更改,而不仅仅是IE6,所以在修改键时要小心!


希望这会有所帮助!


Is there a way to disable backspace, so that when I am entering text in a form and hit the backspace, I don't accidentally go back a page if my cursor is outside of the text box?

This is a major problem for online university tests that have essays, because you end up ending your test in the middle of an essay if you hit the backspace.

Note - I don't want to disable this as a web-developer, but rather as a client. (IE, there's a lot out there on code to disable backspace on a web-page you wrote; I want to know how to disable it for all webpages of my copy of IE 6).
Thanks.
Jon

解决方案

Hello Jon,

As far as im aware to do what you are talking about would require the coding of the keyboard configuration to be changed, for example when in explorer (My computer ect.. not Internet Explorer) and you click on the backspace key it will take you to the previous page you where on, so if your in c:\ drive it will take you back to My Computer ect. now im not sure how exactly this can be done as im no coding genius, however there is one way to get around this.

Depending on the keyboard you have, the multimedia ones come with software that allows you to change the key configurations, so the backspace key can be changed to not goto the previous screen, however this will change the way it operates in Windows to, so you will not be able to use it to go back in any Explorer windows as well as in Internet Explorer. The keyboard i have is Microsoft intelliTypePro wireless which comes with the software that allows you to modify the key settings.

I dont know if this can be done on a normal keyboard or if you would need to be a multimedia keyboard, try searching for any software that changes the key functions. This is just a workaround to resolving the problem you have and isnt meant to fix the issue per say, try giving it ago and seeing if this resolves the issue, another idea would be to set another key the function of "goto previous page" so you dont loose that function. If you want anymore information just let me know on ozolayer@hotmail.com

Omar Abul-Ragheb

 

 Edit: I managed to find some software that does it for you no matter what keyboard you have, goto http://www.softboy.net/ the fourth and fifth software listed downwards are free trials so you can test them to see if they produce the desired results...

Better yet these two sites offer FREE software to change the keyboard functions for you, http://www.randyrants.com/sharpkeys/ and http://www.randyrants.com/sharpkeys/ which are mentioned on http://en.wikipedia.org/wiki/Computer_keyboard which also holds some more information regarding keyboard information and layouts.

I havent tried any of the software so leave some feedback for others if one of them resolve the issue, and remember these programs will remap the key functions so they will change in windows too and not just IE6, so be carefull when modifying the keys!

Hope this helps!


这篇关于如何禁用退格键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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