Input Field on Gui
Posted 11 January 2011 - 10:56 PM
I am pretty new with AutoIT so please bear with me. I basically need to make and inputbox on the main gui itself. I have a working version of what I need to do, but currently it uses a pop-up inputbox. I was wondering if there is a way to enter the information directly into the main gui without having another window pop up to take the user's input. Any help would be much appreciated on this.
Thanks in advance.
Posted 11 January 2011 - 10:59 PM
I assume you have been using InputBox - just create an input control on the GUI with GUICtrlCreateInput and use that instead.
Posted 11 January 2011 - 11:17 PM
So I placed the following snippet in my gui code, but for some reason the value returned no matter what is entered, is 43.
;Name field $who = GUICtrlCreateInput("Name",10,270,100)
Perhaps I am making a mistake with my syntax, I am not sure.
Posted 11 January 2011 - 11:21 PM
The 43 is the ControlID of the input control. You need to code like this:
All clear now?
Posted 11 January 2011 - 11:35 PM
Also I just downloaded all those apps in your signature that I've been looking for, thanks for that.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users