Javi Posted September 14, 2011 Posted September 14, 2011 Hello It is possible, disable the tab key. How? thanks Javi ------------------------------- Hola Es posible, deshabilitar la tecla tabulador. ¿Cómo ? Gracias Javi Quote
Administrators Farshad Mohajeri Posted October 12, 2011 Administrators Posted October 12, 2011 Hello It is possible, disable the tab key. How? thanks Javi ------------------------------- Hola Es posible, deshabilitar la tecla tabulador. ¿Cómo ? Gracias Javi Add below code to MainForm.Script if (typeof window.event != 'undefined') { /* IE */ document.onkeydown = function() /* IE */ { var kc=event.keyCode; return (kc != 9); } } else { document.onkeypress = function(e) /* FireFox/Others */ { var kc=e.keyCode; return (kc != 9); } } Quote
ldb68 Posted October 13, 2011 Posted October 13, 2011 Dosn't work on Google Crome and only work with edit box (grid, checkbox ecc. accept tab). tnks Add below code to MainForm.Script if (typeof window.event != 'undefined') { /* IE */ document.onkeydown = function() /* IE */ { var kc=event.keyCode; return (kc != 9); } } else { document.onkeypress = function(e) /* FireFox/Others */ { var kc=e.keyCode; return (kc != 9); } } Quote
Javi Posted October 13, 2011 Author Posted October 13, 2011 Thanks Farshad Mohajeri Thanks ldb68. I'll remember, Dosn't work on Google Crome and only work with edit box (grid, checkbox ecc. accept tab). tnks Quote
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators Posted October 13, 2011 Disabling Tab key is actually a "Hack" and there is no guarantee that it will work on all browsers including all past, present and future versions. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.