Jump to content

How to check an input status without click a button?


yellow
 Share

Recommended Posts

I have 2 inputs, input[1] and input[2] (used GUICtrlCreateInput....). input[2] is set to GUI_disable. I want to set input[2] to GUI_enable when there is any input from input[1] without clicking any button, anyone know how to do this? :) Thanx in advance!

Edited by yellow
Link to comment
Share on other sites

  • Moderators

If GUICtrlRead($input[1]) <> '' Then GUICtrlSetState($input[2], $GUI_ENABLE)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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...