﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
965	ListViewItem not responding to SetOnEvent	andybiochem		"If the number of delimited items in the ""text"" of a ListViewItem is greater than the number of columns in the ListView control itself, the ListViewItem will not respond to a SetOnEvent declaration.

Reproducer:
{{{
Opt(""GUIOnEventMode"", 1)

GUICreate("""", 220, 150)

;----- NOT WORKING -----
$ListView1 = GUICtrlCreateListView(""Col1|Col2|Col3"", 10, 10, 190, 50)
GUICtrlCreateListViewItem(""first|second|third|fourth"",$ListView1)
GUICtrlSetOnEvent(-1,""_Selected"")

;----- WORKING OK -----
$ListView2 = GUICtrlCreateListView(""Col1|Col2|Col3|Col4"", 10, 70, 190, 50)
GUICtrlCreateListViewItem(""first|second|third|fourth"",$ListView2)
GUICtrlSetOnEvent(-1,""_Selected"")

GUISetState(@SW_SHOW)

While 1
    Sleep(100)
WEnd

Func _Selected()
    ConsoleWrite(@GUI_CtrlId & @CRLF)
EndFunc
}}}

... clicking on the top ListViewItem does not call the function set by 'GUICtrlSetOnEvent'.

The second ListViewItem works as it should.
"	Bug	closed		AutoIt	3.3.0.0	None	No Bug		
