Delphi TreeView with checkboxes
Delphi’s TListView
supports checkboxes out-of-the-box. You just have to set Checkboxes
to True
and iterate through TListView.Items
to find, if particular item have Checked
property set to True
. You can even enable your own OnCheckboxClick
event (not available by default) — I wrote about it here. But very similar to TListView
‘s TTreeView
does not support checkboxes by default at all.
So, you have to craft entire solution yourself.