anyday Posted March 27, 2006 Share Posted March 27, 2006 is it possible to set a default value of a text input box? im needing to set the default value to a variable set in my script? thanks in advance Link to comment Share on other sites More sharing options...
greenmachine Posted March 27, 2006 Share Posted March 27, 2006 I'm assuming since you're in the GUI forum that you mean a GUI input. The text parameter is the default value.... If you mean a real InputBox, the "default" param is the default... InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]] ) You really should have read the helpfile. Link to comment Share on other sites More sharing options...
anyday Posted March 27, 2006 Author Share Posted March 27, 2006 $AgentNumber = GUICtrlCreateInput("", 400, 112, 121, 23) this is the type im talking about. Link to comment Share on other sites More sharing options...
pecloe Posted March 27, 2006 Share Posted March 27, 2006 $TITLE = "Some default" $INPUT_1 = GUICtrlCreateInput($TITLE, 265, 10, 120, 20) Link to comment Share on other sites More sharing options...
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