﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1924	Hiding one Edit affects the text in another.	martin		"The code below shows the problem. If you run the code with the alternative lines which include the ENABLED or DISABLE|D state of the hidden Edit then the other edit is not affected.
I can't reproduce this in GuiOnEventMode.
{{{
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <guiedit.au3>

Opt(""MustDeclareVars"", 1)


GUICreate(""Form2"", 400, 298, 302, 218)
Local $Edit1 = GUICtrlCreateEdit(""Edit1"", 10, 46, 120, 204)
Local $Edit2 = GUICtrlCreateEdit(""Edit2"", 140, 46, 120, 204)
GUISetState(@SW_SHOW)

Local $s
For $i = 0 To 6;make some lines to put in edit2
    $s &= ""------------> "" & $i & @CRLF
Next


GUICtrlSetData($Edit2, $s, ""1"");insert the lines
Sleep(2000)


GUICtrlSetState($Edit1, $GUI_HIDE);after this line, adding a line to edit2 replaces the existing text

;GUICtrlSetState($Edit1, BitOr($GUI_DISABLE, $GUI_HIDE));but text not cleared using this line instead


GUICtrlSetData($Edit2, ""---another--> 6"" & @CRLF, ""1""); should be appended but replaces exiting text
Sleep(4000)
}}}"	Bug	closed		AutoIt	3.3.6.1	None	No Bug	GuiCtrlSetStae with Edits	
