Jump to content

assigning variables with GUI


 Share

Recommended Posts

Hey everyone, if i make some GUI like below. Whats the best way of assigning a variable a certain quantity in the given field? Thanks?

#include <GUIConstantsEx.au3>

$someVariable = "1"

GUICreate("a GUI", 200, 100)
GUICtrlCreateLabel("This GUI", 20, 10)
GUISetState(@SW_SHOW)

GUICtrlCreateLabel("a variable", 20, 50)
$Input1 = GUICtrlCreateInput($someVariable, 80, 50, 80, 20)

While 1
    Sleep(1000)
WEnd
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...