Jump to content

GUI Editbox Linebreak


 Share

Recommended Posts

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