Sign in to follow this  
Followers 0
yellow

How to check an input status without click a button?

3 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



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


[center]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.[/center]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Got it! I added it to While loop and fixed! Thanks a lot,SmOke_N!

Edited by yellow

Share this post


Link to post
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
Sign in to follow this  
Followers 0