Jump to content

seeing what control has the focus


Recommended Posts

how can i make it so that if i click in my edit box it clears the edit box? It should be as simple as, if its active or if focus is on it, then Controlsetdata to blank. However my method doesnt work. Anyone have any ideas?

$msg = GUIGetMsg()
If $msg = $password Then GUICtrlSetData($password,"")

Isn't working...

Edited by datkewlguy
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...