﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
12	GuiCtrlSetData() not appending a single value if it already exists	Bowmore	Jpm	"This script demonstrates a bug in repeated calls 
to GUICtrlSetData() to add a single value to a list
where that value already exists in the list. The value
is not appended to the list unless there is a pipe character
after the value.

{{{
#include <GUIConstants.au3>

GUICreate(""My GUI"")  ; will create a dialog box that when displayed is centered

$mylist1 = GUICtrlCreatelist ("""", 10,10)
GUICtrlSetData($mylist1, ""test"")
GUICtrlSetData($mylist1, ""test"")
; only one entry apeers in list

$mylist2 = GUICtrlCreatelist ("""", 10,200)
GUICtrlSetData($mylist2, ""test"")
GUICtrlSetData($mylist2, ""test|"")
; two entries apeer in list

GUISetState ()       ; will display an empty dialog box with a  control with focus on

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
}}}"	Bug	closed		AutoIt	3.2.10.0		Rejected	XP Home SP2 fully patched	
