Jump to content
Sign in to follow this  
testingtest

Hi setting data?

Recommended Posts

testingtest

Hi ok here is my problem

#include <GUIConstants.au3>

HotKeySet("{ENTER}" , "_Send")
$GUI = GUICreate("AForm1", 259, 302, 192, 115)
$Box = GUICtrlCreateEdit("", 0, 0, 257, 273)
GUICtrlSetData(-1, "Test 1")
$Input = GUICtrlCreateInput("Test 2", 0, 280, 257, 21)
GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

Func _Send()
    GUICtrlSetData($Box ,  @CRLF & GUICtrlRead($Input) & @CRLF)

EndFunc

ok the problem is I want the top line to stay and the second test to go to the bottom of the first I guess I am tired

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  

×