fataly Posted November 11, 2008 Share Posted November 11, 2008 (edited) $Edit1 = GUICtrlCreateEdit("", 408, 16, 209, 129, BitOR($ES_READONLY)) i got loop what add text to that edit box, but its delete last send text all time when its need write next data.. why? i use this for loop: while 1 GUICtrlSetData($Edit1,"Juoksit metsään","") wend Edited November 11, 2008 by fataly Link to comment Share on other sites More sharing options...
rasim Posted November 11, 2008 Share Posted November 11, 2008 fatalyTry this:#include <GuiConstantsEx.au3> $hGUI = GUICreate("Test", 300, 200) $CtlEdit = GUICtrlCreateEdit("", 10, 10, 280, 180) GUISetState() MsgBox(0, "Test", "Typing start") For $i = 1 To 10 GUICtrlSetData($CtlEdit, "Line " & $i & @CRLF, 1) Next Do Until GUIGetMsg() = $GUI_EVENT_CLOSE 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