Jump to content

Hi setting data?


Recommended Posts

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

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...