• Post Reply Bookmark Topic Watch Topic
  • New Topic

Action Listener for Enter Key pressing on CheckBox  RSS feed

 
pragin babu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is..
When the check box is having focus, only when pressing Enter key it should respond. For mouse click action it should not respond.My aim is to call another logic if anyone press Enter key on a focused CheckBox. While pressing enter key any StateChange action also should not happen....Which actionlIstener should i use or what logic should i implement
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
pragin babu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks man.... the code is working superbly...thanks a lot
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!