Bookmark Topic Watch Topic
  • New Topic

disbling alt+tab key  RSS feed

 
Nidhi Singhal
Ranch Hand
Posts: 89
Java Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi all,

I want to dsable alt+tab key so that the focus cannot be shifted to another window.
please letme know how to do this..

thanks
nidhi
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Report post to moderator
you can't, period.

You can possibly create a Javascript eventhandler that intercepts the key combination but that isn't going to prevent people from moving away from your popup (which is the only reason I can think of someone wanting to harass his users like that).
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Nidhi, please do not crosspost the same question in more than one forum. Continue any discussion here.

bear
forum bartender
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!