• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to disable Enter keyboard event in a SWT Wizard page?  RSS feed

 
Luk Cora
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a widget containing a form. In one of his filed i've defined an event for manage the ENTER keyboard event, but itt is actually useless because when i'm inside the form and press the ENTER button, it automatically goes to the next page... I can't find anything to disable this bheavior
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to TellTheDetails <- link ... right now, we don't know whether this is Swing, AWT, SWT or something else.
 
Luk Cora
Ranch Hand
Posts: 70
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've edited the subject for you.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never looked at SWT, but I see a couple of methods in IWizardPage i.e. canFlipToNextPage() and isPageComplete() that look promising.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!