Javi Posted September 14, 2011 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 12, 2011 Administrators Share 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); } } Link to comment Share on other sites More sharing options...
ldb68 Posted October 13, 2011 Share 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); } } Link to comment Share on other sites More sharing options...
Javi Posted October 13, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted October 13, 2011 Administrators Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now