locoforcoco9 Posted October 19, 2011 Posted October 19, 2011 I'm new to this language (started yesterday), but not to scripting. All I need to know is if it's possible to have a linebreak in the GUIctrlCreateEdit() text field. Oh, and by the way, this stuff is awesome! Thanks, ~L
czardas Posted October 19, 2011 Posted October 19, 2011 (edited) Yes you should use the edit/input style $ES_MULTILINE. Post some code if you get stuck, and someone will likely assist you. => Oops I think I misunderstood. Is this is what you want? $hEdit = GUICtrlCreateEdit ( "Line 1" & @CRLF & "Line 2", 10, 10, 200, 100)Another option would be to use a variable as the text field. $sText = "Line 1" & @CRLF & "Line 2" & @CRLF & "Line 3" $hEdit = GUICtrlCreateEdit ($sText, 10, 10, 200, 100) Edited October 19, 2011 by czardas operator64 ArrayWorkshop
czardas Posted October 20, 2011 Posted October 20, 2011 My pleasure entirely. Welcome to the forum. operator64 ArrayWorkshop
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