SerLanceloth Posted July 29, 2015 Share Posted July 29, 2015 #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 615, 438, 192, 124) $Label1 = GUICtrlCreateLabel("Label1", 16, 16, 36, 17) $Input1 = GUICtrlCreateInput("Input1", 64, 16, 121, 21) $Edit1 = GUICtrlCreateEdit("", 16, 48, 185, 89) GUICtrlSetData(-1, "Edit1") $Button1 = GUICtrlCreateButton("Button1", 272, 32, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 GUICtrlSetData($Edit1, GUICtrlRead($Input1)& @CRLF, 1) EndSwitch WEndhello guys, i need to set a string and then the input on a single command, this is an example of what im usingGUICtrlSetData($Edit1, GUICtrlRead($Input1)& @CRLF, 1)here i will need to add an stringGUICtrlSetData($Edit1, "text to appear in the input :" GUICtrlRead($Input1)& @CRLF, 1)thnks for the help in advance Link to comment Share on other sites More sharing options...
RaiNote Posted July 29, 2015 Share Posted July 29, 2015 String for what? I don't really get what u want because 80% of your Post is only Code that makes me confussed >.< C++/AutoIt/OpenGL Easy Coder I will be Kind to you and try to help you till what you want isn't against the Forum Rules~ Link to comment Share on other sites More sharing options...
kylomas Posted July 30, 2015 Share Posted July 30, 2015 SirLanceLoth,GUICtrlSetData($Edit1, "text to appear in the input :" & GUICtrlRead($Input1)& @CRLF, 1)kylomas SerLanceloth 1 Forum Rules Procedure for posting code "I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as equals." - Sir Winston Churchill 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