Jump to content

Recognizing when focus leaves the input field?


Recommended Posts

Hi Guys,

i am working on a translation app. There are a couple of regular input fields with text that the user is supposed to change to a new language. 

I want to change the color of the input field  as soon as the user leaves the input field. Is there a way to do that? 

I know how to do this with a button, but i don't know how i can work with focus. Has any of you done something like this before?

 

Thanks! :)

Link to comment
Share on other sites

  • Moderators

Or...

ShellExecute ("http://www.lmgtfy.com/?q=site:autoitscript.com detect control focus")

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...