Jump to content
Sign in to follow this  
yellow

How to check an input status without click a button?

Recommended Posts

yellow

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
SmOke_N

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.

Share this post


Link to post
Share on other sites
yellow

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  

×