@
BlaazenTListView work what you want, Diffrent working code then TChecklistbox, but result is same. I Mean TListView has "Checkboxes" property, default is False, on Object Inspecter. When change to True All item has a Checkbox and for acces that value, easy add extra glyph too
AItem : TListItem;
AItem := LV_.Items.Add;
AItem.Caption := C;
AItem.Checked := I in P^.CheckedPerm;
/lazarus/examples/listview has example in this folder
TChecklistbox has a bug (My idea)
1-)OnClick not working on my system x86_amd64 wheezy KDE 4.8.4 ang gtk2, but in kubuntu and ubuntu gtk2 OnClick event is working. this event hasto work when component clicked
2-)OnClickCheck not work. It hasto work when clcik to square box or keyboard pressed space, 'cos user try check or uncheck. And this event hasto ItemIndex Property, so clicked to which Item can find.
3-)OnItemClick event working ( Just
) This event works like my Second idea
This event name can be "OnItemSelected"