Sign in to follow this  
Followers 0
anyday

Input Text Box Default Value?

4 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

$AgentNumber = GUICtrlCreateInput("", 400, 112, 121, 23)

this is the type im talking about.

Share this post


Link to post
Share on other sites

$TITLE = "Some default"
$INPUT_1 = GUICtrlCreateInput($TITLE, 265, 10, 120, 20)

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