testingtest Posted May 21, 2007 Share Posted May 21, 2007 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 More sharing options...
enaiman Posted May 21, 2007 Share Posted May 21, 2007 To do that only, you can modify your _Send function: Func _Send() GUICtrlSetData($Box, GUICtrlRead ($Box)&@CRLF & GUICtrlRead($Input) & @CRLF) EndFunc SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
testingtest Posted May 21, 2007 Author Share Posted May 21, 2007 To do that only, you can modify your _Send function: Func _Send() GUICtrlSetData($Box, GUICtrlRead ($Box)&@CRLF & GUICtrlRead($Input) & @CRLF) EndFunc thanks i am just soooo tired Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now