Deye Posted September 1, 2018 Posted September 1, 2018 (edited) Hi, Edit: Question embedded & revised #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $hGui = GUICreate("Example", 785, 400, -1, -1, BitOR($WS_MINIMIZEBOX, $WS_SIZEBOX, $WS_CAPTION, $WS_SYSMENU)) $idButton = GUICtrlCreateButton("OK", 310, 370, 85, 25) Global $sdata, $idMyedit = GUICtrlCreateEdit("", 10, 10, 760, 310) GUICtrlSetFont(-1, 11, 0, "", "Courier New") Local $sString1 = "-A string that is *Whatever* long or short", $sString = $sString1 For $i = 1 To 4 $sString &= $sString1 Next GUICtrlSetData($idMyedit, $sString & @CRLF & @CRLF & "How do i get the string length at @LF (Of the Edit Ctrl) before the word warp occurs ??") GUISetState(@SW_SHOW, $hGui) While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE , $idButton ExitLoop EndSwitch WEnd Edited September 4, 2018 by Deye
Deye Posted September 4, 2018 Author Posted September 4, 2018 (edited) solved from this post &Thanks for the example @ResNullius Edited September 4, 2018 by Deye
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