• Post Reply Bookmark Topic Watch Topic
  • New Topic

writing keylistener

 
Mohamad Samy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote the following code but when I typed any letter on the keyboard, it writes both the upper and lower cases on the text area I have

 
Rob Camick
Ranch Hand
Posts: 2699
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't append(...) the key character to the text area. The text area already does this for you.
 
Mohamad Samy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you mean I can remove the line of the textArea.append(string ) from my code and it will work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!