﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3707	GUISetOnEvent with empty func name does not disables the event	MrCreatoR <mrgeorge.sandler@…>	Jos	"Remarks for GUISetOnEvent / GUICtrlSetOnEvent in docs sais:

{{{
If the function is an empty string """" the previous user-defined is disabled.
}}}

But it's not working. The same for GUICtrlSetOnEvent.
Reproducing example:

{{{
#include <GUIConstantsEx.au3>
#include <MsgBoxConstants.au3>

Opt(""GUIOnEventMode"", 1)

GUICreate(""Parent1"")
GUISetOnEvent($GUI_EVENT_CLOSE, ""SpecialEvents"")
GUISetOnEvent($GUI_EVENT_CLOSE, """")

GUISetState(@SW_SHOW)

While 1
	Sleep(10)
WEnd

Func SpecialEvents()
	Select
		Case @GUI_CtrlId = $GUI_EVENT_CLOSE
			MsgBox($MB_SYSTEMMODAL, ""Close Pressed"", ""ID="" & @GUI_CtrlId & "" WinHandle="" & @GUI_WinHandle)
			GUIDelete()
			Exit
	EndSelect
EndFunc
}}}
"	Bug	closed	3.3.15.1	AutoIt	3.3.14.5	None	Fixed		
