Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

keypress event

 
Henk Rog
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to display a form when enter is pressed on a textbox. How can I do this? Any example is welcome.
Thanks
:roll:
 
Jason Fox
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using a Canvas, override the

method, check the keyCode to see if the user pressed 'Enter' button and then make your calls to display what ever you'd like (bearing in mind that you'll have to switch to a high-level UI Displayable if you want use such things as TextFields, etc).
Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic