How to add items of a TListBox as sub-items to a selected tree node (Views: 12)
I have TreeView1, Button1 and ListBox1. ListBox one has x number of items. I need to be able to click Button1 and the items in ListBox1 are inserted as sub-items to the selected tree-node.
parentnode := TreeView.FocusedNode;
for ix := 0 to ListBox1.Items.Count - 1 do
if parentnode = nil then
<< Back to main page