Skip to main content
November 29, 2006
Answered

Detecting when TextInput is selected

  • November 29, 2006
  • 3 replies
  • 203 views
I'm trying to detect when a user clicks in a text input box. The project is going to be displayed on a touch screen monitor, and I have an onscreen keyboard, so I need to come up with a way to tell which text input box the user is trying to type in... thanks!
This topic has been closed for replies.
Correct answer kglad
you can use the onSetFocus() property of textfields.

3 replies

kglad
Community Expert
Community Expert
November 30, 2006
you're welcome.
November 30, 2006
Thanks! I also found I could also use onRelease() and run setFocus() in the event listener, but SetFocus() does a better job. Thanks!
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
November 30, 2006
you can use the onSetFocus() property of textfields.