Greetings,
Environment is Windows 10 1903 , Lazarus 2.0.6.
Stepping up the learning curve for windows forms with a very basic listview example.
See attached project file. On Execution every button works, except delete selected which throws an exception in listitem.inc , function TListItem.GetChecked: Boolean; , line
LV := FOwner.FOwner; ( where LV turns out 0 ).
I did read a previous post on this and both ListView1.Items.Delete( i )
and ListView1.Items[ i ].Delete causes the exception.
Try the following : add 10 items, check 'Checkbox List View', check the first item in the list and click Del Selected -----> Exception Crash.
What am I missing ?
Thanks in advance