Jump to content
Sign in to follow this  
Damastah

How do you put more than one input box on a window?

Recommended Posts

Damastah

Can someone give me please a 2 inputbox GUI script as a template?

Share this post


Link to post
Share on other sites
NELyon

This is the second time I've posted this exact example today :) This is just modified a bit

#include <GuiConstants.au3>
#include <WindowsConstants.au3>
$GUI = GUICreate("Test", 288, 150, -1, -1, $WS_SIZEBOX)
$hInput = GUICtrlCreateInput("Enter something here", 44,  20)
$hInput2 = GUICtrlCreateInput("Or enter something here", 44, 100)
GUISetState()
While 1
    Switch GUIGetMsg()
        Case -3
            Exit
    EndSwitch
WEnd
Edited by KentonBomb

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  

×