Jump to content

Recommended Posts

Posted

Hello

 

It is possible, disable the tab key. How?

thanks

Javi

 

-------------------------------

 

Hola

 

Es posible, deshabilitar la tecla tabulador. ¿Cómo ?

Gracias

Javi

  • 4 weeks later...
  • Administrators
Posted

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);
  }
}


Posted

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);
  }
}


Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...