My first gui

"Sensei J. Richard Kirkham B.Sc" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Aloha

I can make the buttons I found that example

But I need to make a text box right by the buttons

How do I do that?

Rick

#include <GUIConstants.au3>
GUICreate("Form Fillter by Rick KirkhamsEbooks.com") ; will create a dialog box that when displayed is centered
Opt("GUICoordMode",2)
$Button_1 = GUICtrlCreateButton ("User Name",  10, 30, 100)
$Button_2 = GUICtrlCreateButton ( "Password",  -1,0)
$Button_3 = GUICtrlCreateButton ( "Title", -1,0 )

GUISetState ()      ; will display an  dialog box with 2 button
; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $Button_1
            Run('Notepad.exe')    ; Will Run/Open Notepad
        Case $msg = $Button_2
            MsgBox(0, 'Testing', 'Button 2 was pressed')    ; Will demonstrate Button 2 being pressed
    EndSelect
Wend
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.