Jump to content

Recommended Posts

I need to have a text box in the window like this.

Please Enter your name.
        <Textbox here>
        < Okay Button>

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Link to post
Share on other sites

maybe

#include <GUIConstants.au3>

; GUI
GUICreate("Auto Loader", 200, 150)

; LABEL
$Label_1 = GUICtrlCreateLabel("Name", 30, 20, 100, 20)

; Input
$Input_1 = GUICtrlCreateInput("Admin", 70, 20, 90, 20)

; BUTTON
$RUN_1 = GUICtrlCreateButton("OK", 50, 50, 100, 50)

; GUI MESSAGE LOOP
GUISetState()





While 1
    $MSG = GUIGetMsg()
    Select
        Case $MSG = $GUI_EVENT_CLOSE
            Exit
        Case $MSG = $RUN_1
           $user = GUICtrlRead($Input_1)
           MsgBox(0,"User", $user )
    EndSelect

WEnd

8)

NEWHeader1.png

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...