Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TAdvCheckTreeView
Getting all checked nodes in the TAdvCheckTreeView
Getting all checked nodes in the TAdvCheckTreeView
Following code snippet shows how to loop through the treeview nodes and get all checked nodes:
var i: integer; tn: TTreeNode; begin for i := 0 to advchecktreeview1.Items.Count - 1 do begin tn := AdvCheckTreeView1.Items[i]; if AdvCheckTreeView1.Checked[tn] then listbox1.Items.Add(tn.Text); end; end;