yellow Posted September 12, 2006 Posted September 12, 2006 (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 September 12, 2006 by yellow
Moderators SmOke_N Posted September 12, 2006 Moderators Posted September 12, 2006 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.
yellow Posted September 12, 2006 Author Posted September 12, 2006 (edited) Got it! I added it to While loop and fixed! Thanks a lot,SmOke_N! Edited September 12, 2006 by yellow
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now