Zip = File.Find("\\\\share\\folder", "*.*", true, false, ShowSearchProgress, nil);
if Zip then
for i,v in Zip do
tbSplit = String.SplitPath(v);
name = tbSplit.Filename
tblNodeData = {};
tblNodeData.Text = name;
tblNodeData.Data = v;
Tree.InsertNode("Tree1", "3", tblNodeData);
end
end
end
How do I clear the tree once it is populated?

Reply With Quote